mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-04 06:57:23 +01:00
start out with thoughtbots version
This commit is contained in:
9
zsh/functions/g
Normal file
9
zsh/functions/g
Normal file
@@ -0,0 +1,9 @@
|
||||
# No arguments: `git status`
|
||||
# With arguments: acts like `git`
|
||||
g() {
|
||||
if [[ $# -gt 0 ]]; then
|
||||
git "$@"
|
||||
else
|
||||
git status
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user