diff options
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -283,7 +283,7 @@ vp() { | |||
| 283 | 283 | ||
| 284 | # __GIT__ | 284 | # __GIT__ |
| 285 | unalias gc &> /dev/null # override zsh plugin alias | 285 | unalias gc &> /dev/null # override zsh plugin alias |
| 286 | gc() { git clone $@; if [ $# == 1 ]; then cd $(basename ${1%.git}); fi } | 286 | gc() { git clone $@; if [ $# = 1 ]; then cd $(basename ${1%.git}); fi } |
| 287 | gc1() { git clone --depth=1 $1 && cd $(basename $1); } | 287 | gc1() { git clone --depth=1 $1 && cd $(basename $1); } |
| 288 | gcv() { gc vps:$1; } | 288 | gcv() { gc vps:$1; } |
| 289 | alias gls='git log -S' | 289 | alias gls='git log -S' |