[zsh] Update shell init: rc
This commit is contained in:
parent
b09d523218
commit
c30b46a88b
26 changed files with 479 additions and 462 deletions
14
zsh/func/g
Normal file
14
zsh/func/g
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env zsh
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
function g
|
||||
{
|
||||
if [[ $# -gt 0 ]]; then
|
||||
git $@
|
||||
else
|
||||
git status --short --branch
|
||||
fi
|
||||
return $?
|
||||
}
|
||||
|
||||
g "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue