Rename functions/g to configs/git.zsh
This commit is contained in:
parent
e4fa6d1a5b
commit
0865136067
2 changed files with 0 additions and 3 deletions
9
tag-zsh/zsh/configs/git.zsh
Normal file
9
tag-zsh/zsh/configs/git.zsh
Normal file
|
@ -0,0 +1,9 @@
|
|||
# No arguments: `git status`
|
||||
# With arguments: acts like `git`
|
||||
g() {
|
||||
if [[ $# > 0 ]]; then
|
||||
git $@
|
||||
else
|
||||
git status --short --branch
|
||||
fi
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue