dotfiles/dot_config/zsh/functions/g
2024-09-26 16:35:01 -05: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
}