Files
DotfilesOld/zsh/functions/g
2017-12-31 15:35:11 +01:00

10 lines
137 B
Plaintext

# No arguments: `git status`
# With arguments: acts like `git`
g() {
if [[ $# -gt 0 ]]; then
git "$@"
else
git status
fi
}