diff options
| -rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -80,7 +80,7 @@ _ranger-cd() { | |||
| 80 | alias df='df -h' | 80 | alias df='df -h' |
| 81 | 81 | ||
| 82 | # git | 82 | # git |
| 83 | alias gc > /dev/null && unalias gc | 83 | alias gc > /dev/null && unalias gc # overwrite alias in on-my-zsh plugins |
| 84 | gc() { git clone $1 && cd $(basename $1) } | 84 | gc() { git clone $1 && cd $(basename $1) } |
| 85 | gc1() { git clone --depth=1 $1 && cd $(basename $1) } | 85 | gc1() { git clone --depth=1 $1 && cd $(basename $1) } |
| 86 | gcg() { git clone git@github.com:$1/$2.git && cd $(basename $1) } | 86 | gcg() { git clone git@github.com:$1/$2.git && cd $(basename $1) } |