diff options
author | typebrook <typebrook@gmail.com> | 2020-02-05 01:00:35 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-02-05 01:00:35 +0800 |
commit | 1e9d9eb46bc161b455f33ef7ca2fa40f737c80e3 (patch) | |
tree | 04fc350282634bb5e06c294b0937bcd6c039d2c0 | |
parent | aa770d7a8e2b02ccb5c27e2f40bec1a482497688 (diff) |
update
-rw-r--r-- | alias | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -59,8 +59,8 @@ alias pi='sudo pip3 install' # nodejs install | |||
59 | # cd to DIRs | 59 | # cd to DIRs |
60 | alias ..='cd ..' | 60 | alias ..='cd ..' |
61 | alias ld='cd -' # last directory | 61 | alias ld='cd -' # last directory |
62 | cdg(){ | 62 | cdg() { |
63 | cd ~/git; cd $1 | 63 | cd ~/git/$1 || cd ~/git |
64 | } | 64 | } |
65 | alias cda='cd ~/data' | 65 | alias cda='cd ~/data' |
66 | alias cdd='cd ~/Downloads' | 66 | alias cdd='cd ~/Downloads' |