From 5a374e4e5d753288cb7eccde12a45ff46485028c Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Mon, 2 Sep 2024 08:42:59 -0500 Subject: update zsh --- zsh/zscripts/aliasrc.zsh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'zsh/zscripts') diff --git a/zsh/zscripts/aliasrc.zsh b/zsh/zscripts/aliasrc.zsh index 049c9c7..f4e5035 100755 --- a/zsh/zscripts/aliasrc.zsh +++ b/zsh/zscripts/aliasrc.zsh @@ -2,13 +2,16 @@ # Replacement programs typeset -A repaliases=( - #alias replacement - htop htim - mutt neomutt - vim nvim - sudo "${SUDO:- }" + #alias replacement + htop htim + mutt neomutt + vim nvim + sudo "${SUDO:- }" + neofetch fastfetch ) -for alias rep in ${(kv)repaliases}; do command -v $rep >/dev/null && alias $alias=$rep; done # Tests if replacement exists before creating alias +for alias rep in ${(kv)repaliases}; do + command -v $rep >/dev/null && alias $alias=$rep +done # Tests if replacement exists before creating alias # Shorten program names -- cgit v1.2.3