bens-dotfiles/fish/.config/fish/functions/g.fish

11 lines
123 B
Fish

complete -c g -w git
function g
if count $argv > /dev/null
git $argv
else
git status
end
end