Create sane alias handling within zsh

This commit is contained in:
David Holland 2020-08-17 17:00:34 +02:00
parent 7cce1761af
commit 134876505f
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
3 changed files with 18 additions and 8 deletions

1
.gitignore vendored
View File

@ -15,6 +15,7 @@
!/.Xmodmap.example
!/.Xresources
!/.xsession
!/.zsh_alias
!/.zshenv
!/.zshpath.example
!/.zshrc

14
.zsh_alias Normal file
View File

@ -0,0 +1,14 @@
alias la='ls -lahF'
alias ll='ls -lhF'
alias ls='ls -F --color=tty'
alias lsa='ls -aF'
alias layout='xkblayout-state print "%s(%v)" && echo -n "\n"'
alias picom-default='picom -bGC --backend glx --unredir-if-possible-delay 1000 --vsync'
alias screenkey-obs='screenkey --no-systray -t 2 -p fixed -s small -g 960x88+960+4 --key-mode composed --bak-mode full --mods-mode normal -f Hack --font-color "#f8f8f2" --bg-color "#44475a" --opacity "1.0"'
alias tmate-obs='tmate -k tmk-ET35fx5m9cA7cxOt4jjWkSmaOy -r DustVoice'
alias xfce-polkit='/usr/lib/xfce-polkit/xfce-polkit'
alias davinci-resolve='/opt/resolve/bin/resolve'
alias rofi-scripts='alias | sed -e "s/=.*//"'
alias lock-screen='xset 600 60 && env XSECURELOCK_AUTH_BACKGROUND_COLOR=rgb:28/2a/36 XSECURELOCK_AUTH_FOREGROUND_COLOR=rgb:f8/f8/f2 XSECURELOCK_AUTH_TIMEOUT=10 XSECURELOCK_BLANK_TIMEOUT=-1 XSECURELOCK_BLANK_DPMS_STATE=on XSECURELOCK_DISCARD_FIRST_KEYPRESS=1 XSECURELOCK_PASSWORD_PROMPT=cursor XSECURELOCK_SHOW_DATETIME=1 XSECURELOCK_SHOW_HOSTNAME=1 XSECURELOCK_SHOW_USERNAME=1 xsecurelock &'

11
.zshenv
View File

@ -48,11 +48,6 @@ export XDG_CONFIG_HOME="$HOME/.config"
export WINIT_X11_SCALE_FACTOR=1
alias layout='xkblayout-state print "%s %v"'
alias picom-default='picom -bgc --backend glx --unredir-if-possible-delay 1000 --vsync'
alias screenkey-obs='screenkey --no-systray -t 2 -p fixed -s small -g 960x88+960+4 --key-mode composed --bak-mode full --mods-mode normal -f Hack --font-color "#f8f8f2" --bg-color "#44475a" --opacity "1.0"'
alias tmate-obs='tmate -k tmk-et35fx5m9ca7cxot4jjwksmaoy -r dustvoice'
alias xfce-polkit='/usr/lib/xfce-polkit/xfce-polkit'
alias davinci-resolve='/opt/resolve/bin/resolve'
alias rofi-scripts='alias | sed -e "s/=.*//"'
if [[ -f $HOME/.zsh_alias ]]; then
source $HOME/.zsh_alias
fi