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