zsh: fix g function completion

parent 4d313a47
......@@ -60,4 +60,10 @@ alias r="ranger" # overrides built-in r command
(( $+commands[yarn] )) && alias y=yarn
if (( $+commands[hub] )); then
compdef g=hub
else
compdef g=git
fi
[[ -x "/Applications/Alacritty.app/Contents/MacOS/alacritty" ]] && alias alacritty='/Applications/Alacritty.app/Contents/MacOS/alacritty'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment