diff --git a/.zsh/aliases.zsh b/.zsh/aliases.zsh index 1162f17..cdfff9e 100644 --- a/.zsh/aliases.zsh +++ b/.zsh/aliases.zsh @@ -1,3 +1,5 @@ + local dfHome="~/utils/dotfiles" + alias ls='exa -al --group --group-directories-first' alias grubup='sudo grub2-mkconfig -o /boot/grub2/grub.cfg' 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 rwlan='ip link set wlp3s0 down; ip link set wlp3s0 up' alias wget='wget -c' # allows to restore progress after interruption - alias vimrc='vim ~/.vimrc' - alias zshconfig="vim ~/.zshrc" + alias vimrc="vim $dfHome/.vim/vimrc" + alias zshconfig="vim $dfHome/.zshrc" alias zshist="vim ~/.zsh_history" alias alltheconfigs='alltheconfigs.sh' alias agentssh="ssh-add ~/.ssh/$kee" # add development key on demand @@ -44,7 +46,7 @@ fi } 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 LL=' |& less' alias kubectl='kubectl'