aliases.zsh: bind aliases to dotfiles home

This commit is contained in:
surtur 2023-08-10 22:28:44 +02:00
parent cd0938c3da
commit adc80419da
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -1,3 +1,5 @@
local dfHome="~/utils/dotfiles"
alias ls='exa -al --group --group-directories-first' alias ls='exa -al --group --group-directories-first'
alias grubup='sudo grub2-mkconfig -o /boot/grub2/grub.cfg' alias grubup='sudo grub2-mkconfig -o /boot/grub2/grub.cfg'
alias am='sudo -i' alias am='sudo -i'
@ -15,8 +17,8 @@
#alias reth='sudo ethtool -r enp0s25' # ; ip link set enp0s25 down; ip link set enp0s25 up ' #alias reth='sudo ethtool -r enp0s25' # ; ip link set enp0s25 down; ip link set enp0s25 up '
#alias rwlan='ip link set wlp3s0 down; ip link set wlp3s0 up' #alias rwlan='ip link set wlp3s0 down; ip link set wlp3s0 up'
alias wget='wget -c' # allows to restore progress after interruption alias wget='wget -c' # allows to restore progress after interruption
alias vimrc='vim ~/.vimrc' alias vimrc="vim $dfHome/.vim/vimrc"
alias zshconfig="vim ~/.zshrc" alias zshconfig="vim $dfHome/.zshrc"
alias zshist="vim ~/.zsh_history" alias zshist="vim ~/.zsh_history"
alias alltheconfigs='alltheconfigs.sh' alias alltheconfigs='alltheconfigs.sh'
alias agentssh="ssh-add ~/.ssh/$kee" # add development key on demand alias agentssh="ssh-add ~/.ssh/$kee" # add development key on demand
@ -44,7 +46,7 @@
fi fi
} }
alias signal-desktop='signal-desktop --use-tray-icon --enable-features=UseOzonePlatform --ozone-platform=wayland' alias signal-desktop='signal-desktop --use-tray-icon --enable-features=UseOzonePlatform --ozone-platform=wayland'
alias dotfiles='cd ~/utils/dotfiles' alias dotfiles="cd $dfHome"
alias -g VV=' |& vim -' alias -g VV=' |& vim -'
alias -g LL=' |& less' alias -g LL=' |& less'
alias kubectl='kubectl' alias kubectl='kubectl'