function g --wraps git # shortcut to git # If no arguments are given, run git status and git l if count $argv >/dev/null git $argv else git status git l -5 end end