aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-06-19 15:35:37 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-06-19 15:35:37 +0800
commit66202187b24e4871b1f9122b1300930f84d4359e (patch)
tree70ca8f1de05364ee637d85cf854102fc7264bb7e
parent1dad0ab340e144b9be673d1924a2722bd5fe005f (diff)
Update
-rw-r--r--alias2
1 files changed, 1 insertions, 1 deletions
diff --git a/alias b/alias
index 359737c..b6a65b7 100644
--- a/alias
+++ b/alias
@@ -281,7 +281,7 @@ vp() {
281 281
282# __GIT__ 282# __GIT__
283unalias gc &> /dev/null # override zsh plugin alias 283unalias gc &> /dev/null # override zsh plugin alias
284gc() { git clone $@ && cd $(basename ${1%.git}); } 284gc() { git clone $@; if [ $# == 1 ]; then cd $(basename ${1%.git}); fi }
285gc1() { git clone --depth=1 $1 && cd $(basename $1); } 285gc1() { git clone --depth=1 $1 && cd $(basename $1); }
286gcv() { gc vps:$1; } 286gcv() { gc vps:$1; }
287alias gls='git log -S' 287alias gls='git log -S'