aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-04-06 18:06:18 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-04-06 18:06:18 +0800
commit7219d8e73c0210044286f94cba04a101d82e5341 (patch)
tree999f855431b75e98bfd3c8831595bfb39e67c8d9
parent58891f89eaf4a289d2be3d0127f11f31c857ae35 (diff)
parentd215b920a109edaefc21fa60bb45e896ee23dcdf (diff)
Merge remote-tracking branch 'origin/dev' into dev
-rw-r--r--alias2
1 files changed, 1 insertions, 1 deletions
diff --git a/alias b/alias
index 27ce342..4077bb4 100644
--- a/alias
+++ b/alias
@@ -154,7 +154,7 @@ vp() {
154# git 154# git
155unalias gc &> /dev/null # override zsh plugin alias 155unalias gc &> /dev/null # override zsh plugin alias
156gc() { 156gc() {
157 git clone $1 && cd $(basename $1) 157 git clone $1 && cd $(basename ${1%.git})
158} 158}
159gc1() { 159gc1() {
160 git clone --depth=1 $1 && cd $(basename $1) 160 git clone --depth=1 $1 && cd $(basename $1)