diff options
author | typebrook <typebrook@gmail.com> | 2020-02-05 16:58:34 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-02-05 16:58:34 +0800 |
commit | 1ed7464bf7c1b166b37fb5af5c029019abdfc1f7 (patch) | |
tree | d253ff0ab45cb13e9c33d811be26249740b87682 | |
parent | f0d2228f1c2c7d4bc9aba7dbf1f4f285086e1dd3 (diff) |
update
-rw-r--r-- | alias | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -28,7 +28,7 @@ todo() { | |||
28 | fix() { | 28 | fix() { |
29 | ( which $1 ) && grep -Po 'FIXME.*' $(which $1) | 29 | ( which $1 ) && grep -Po 'FIXME.*' $(which $1) |
30 | } | 30 | } |
31 | gicd() { | 31 | cdgi() { |
32 | dir=$(gist $1 --no-action) | 32 | dir=$(gist $1 --no-action) |
33 | [[ -d $dir ]] && cd $dir | 33 | [[ -d $dir ]] && cd $dir |
34 | } | 34 | } |
@@ -68,9 +68,10 @@ alias cdD='cd ~/Documents' | |||
68 | alias cdV='cd ~/Videos' | 68 | alias cdV='cd ~/Videos' |
69 | alias cdP='cd ~/Pictures' | 69 | alias cdP='cd ~/Pictures' |
70 | 70 | ||
71 | # gist | 71 | # github |
72 | alias gn='gist new' | 72 | alias gn='gist new' |
73 | alias cdgg='cd ~/git/gist' | 73 | alias cdgg='cd ~/git/gist' |
74 | alias hub="GITHUB_TOKEN=$(cat $SETTING_DIR/tokens/github) hub" | ||
74 | 75 | ||
75 | # about custom settings | 76 | # about custom settings |
76 | alias cds='cd $SETTING_DIR' | 77 | alias cds='cd $SETTING_DIR' |