diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2024-09-02 08:42:59 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2024-09-02 08:42:59 -0500 |
commit | 5a374e4e5d753288cb7eccde12a45ff46485028c (patch) | |
tree | b17f2ff86b87f708e4230d08c60c4e15e3e1dd18 /zsh/zscripts/aliasrc.zsh | |
parent | f885f0733b74c8aaa0d25b503c715d58ed774d6d (diff) | |
download | dotconfig-5a374e4e5d753288cb7eccde12a45ff46485028c.tar.xz dotconfig-5a374e4e5d753288cb7eccde12a45ff46485028c.zip |
update zsh
Diffstat (limited to 'zsh/zscripts/aliasrc.zsh')
-rwxr-xr-x | zsh/zscripts/aliasrc.zsh | 15 |
1 files changed, 9 insertions, 6 deletions
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 |