summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-02-05 16:58:34 +0800
committertypebrook <typebrook@gmail.com>2020-02-05 16:58:34 +0800
commit1ed7464bf7c1b166b37fb5af5c029019abdfc1f7 (patch)
treed253ff0ab45cb13e9c33d811be26249740b87682
parentf0d2228f1c2c7d4bc9aba7dbf1f4f285086e1dd3 (diff)
update
-rw-r--r--alias5
1 files changed, 3 insertions, 2 deletions
diff --git a/alias b/alias
index 80e4664..f4b23c9 100644
--- a/alias
+++ b/alias
@@ -28,7 +28,7 @@ todo() {
28fix() { 28fix() {
29 ( which $1 ) && grep -Po 'FIXME.*' $(which $1) 29 ( which $1 ) && grep -Po 'FIXME.*' $(which $1)
30} 30}
31gicd() { 31cdgi() {
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'
68alias cdV='cd ~/Videos' 68alias cdV='cd ~/Videos'
69alias cdP='cd ~/Pictures' 69alias cdP='cd ~/Pictures'
70 70
71# gist 71# github
72alias gn='gist new' 72alias gn='gist new'
73alias cdgg='cd ~/git/gist' 73alias cdgg='cd ~/git/gist'
74alias hub="GITHUB_TOKEN=$(cat $SETTING_DIR/tokens/github) hub"
74 75
75# about custom settings 76# about custom settings
76alias cds='cd $SETTING_DIR' 77alias cds='cd $SETTING_DIR'