Add functions file
This commit is contained in:
parent
8264540283
commit
64ecb489ed
1 changed files with 9 additions and 0 deletions
9
.functions
Normal file
9
.functions
Normal file
|
@ -0,0 +1,9 @@
|
|||
function g {
|
||||
if [[ $# > 0 ]]; then
|
||||
git $@
|
||||
else
|
||||
git status
|
||||
fi
|
||||
}
|
||||
compdef g=git
|
||||
|
Loading…
Reference in a new issue