dotfiles/roles/zsh/files/.zsh/configs/git.zsh
Oliver Davies 8916e90050 refactor: combine with Ubuntu Provisioning repo
Combine with this repository with https://github.com/opdavies/ubuntu-provisioning
so that everything can be managed in one place, and add a role for each
piece of software.
2022-01-06 01:04:14 +00:00

11 lines
152 B
Bash

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