diff options
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -154,7 +154,7 @@ vp() { | |||
| 154 | # git | 154 | # git |
| 155 | unalias gc &> /dev/null # override zsh plugin alias | 155 | unalias gc &> /dev/null # override zsh plugin alias |
| 156 | gc() { | 156 | gc() { |
| 157 | git clone $1 && cd $(basename $1) | 157 | git clone $1 && cd $(basename ${1%.git}) |
| 158 | } | 158 | } |
| 159 | gc1() { | 159 | gc1() { |
| 160 | git clone --depth=1 $1 && cd $(basename $1) | 160 | git clone --depth=1 $1 && cd $(basename $1) |