aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-02-21 13:48:36 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-02-21 13:48:36 +0800
commitcb2a173aa79b6c4125b106afa1cd05f030331c6f (patch)
treedcff3400d6d03e11bf2362d604a08a0e8ba4b216
parentf917e5375dcd37928056a154447b602c15e5219d (diff)
Update
-rw-r--r--alias3
1 files changed, 2 insertions, 1 deletions
diff --git a/alias b/alias
index 1b3c4c3..e50d6a0 100644
--- a/alias
+++ b/alias
@@ -36,6 +36,7 @@ cde() { cd /etc/$@; }
36 36
37alias cdetc='cde' 37alias cdetc='cde'
38alias ls='ls --color' 38alias ls='ls --color'
39alias lsd='ls -d */'
39alias grep='grep --color' 40alias grep='grep --color'
40alias eof='IGNOREEOF=10' 41alias eof='IGNOREEOF=10'
41 42
@@ -282,7 +283,7 @@ vp() {
282 283
283# __GIT__ 284# __GIT__
284unalias gc &> /dev/null # override zsh plugin alias 285unalias gc &> /dev/null # override zsh plugin alias
285gc() { git clone $1 && cd $(basename ${1%.git}); } 286gc() { git clone $@ && cd $(basename ${1%.git}); }
286gc1() { git clone --depth=1 $1 && cd $(basename $1); } 287gc1() { git clone --depth=1 $1 && cd $(basename $1); }
287gcv() { gc vps:$1; } 288gcv() { gc vps:$1; }
288alias gls='git log -S' 289alias gls='git log -S'