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

9 lines
101 B
Fish

function g
if count $argv > /dev/null
git $argv
else
git status
end
end