diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-02-21 13:48:36 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-02-21 13:48:36 +0800 |
| commit | cb2a173aa79b6c4125b106afa1cd05f030331c6f (patch) | |
| tree | dcff3400d6d03e11bf2362d604a08a0e8ba4b216 /alias | |
| parent | f917e5375dcd37928056a154447b602c15e5219d (diff) | |
Update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -36,6 +36,7 @@ cde() { cd /etc/$@; } | |||
| 36 | 36 | ||
| 37 | alias cdetc='cde' | 37 | alias cdetc='cde' |
| 38 | alias ls='ls --color' | 38 | alias ls='ls --color' |
| 39 | alias lsd='ls -d */' | ||
| 39 | alias grep='grep --color' | 40 | alias grep='grep --color' |
| 40 | alias eof='IGNOREEOF=10' | 41 | alias eof='IGNOREEOF=10' |
| 41 | 42 | ||
| @@ -282,7 +283,7 @@ vp() { | |||
| 282 | 283 | ||
| 283 | # __GIT__ | 284 | # __GIT__ |
| 284 | unalias gc &> /dev/null # override zsh plugin alias | 285 | unalias gc &> /dev/null # override zsh plugin alias |
| 285 | gc() { git clone $1 && cd $(basename ${1%.git}); } | 286 | gc() { git clone $@ && cd $(basename ${1%.git}); } |
| 286 | gc1() { git clone --depth=1 $1 && cd $(basename $1); } | 287 | gc1() { git clone --depth=1 $1 && cd $(basename $1); } |
| 287 | gcv() { gc vps:$1; } | 288 | gcv() { gc vps:$1; } |
| 288 | alias gls='git log -S' | 289 | alias gls='git log -S' |