diff options
author | typebrook <typebrook@gmail.com> | 2019-12-01 13:44:51 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-12-01 13:44:51 +0800 |
commit | d03fff546a343617529c1585796e570d6ae0f702 (patch) | |
tree | 93a196fa118b0f7c3338a838744a0a1587212299 | |
parent | 33221b07ae2a49faedda57b165a1035bed0f1596 (diff) |
update
-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) } |