1 parent b9b400c commit 59ba9ceCopy full SHA for 59ba9ce
1 file changed
home/dot_config/exact_zsh/exact_config/aliases.zsh
@@ -44,10 +44,10 @@ typeset -A git_aliases=(
44
)
45
46
# Loop through each alias, create the alias, and set the compdef.
47
-for key in ${(k)git_aliases}; do
+for key (${(k)git_aliases}) {
48
alias g$key="git $key"
49
compdef _git "g$key=git-${git_aliases[$key]}"
50
-done
+}
51
unset git_aliases
52
unset key
53
0 commit comments