8 lines
127 B
Fish

function g --wraps git
if count $argv >/dev/null
git $argv
else
git status
git l -5
end
end