From 1ed7464bf7c1b166b37fb5af5c029019abdfc1f7 Mon Sep 17 00:00:00 2001 From: typebrook Date: Wed, 5 Feb 2020 16:58:34 +0800 Subject: update --- alias | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'alias') diff --git a/alias b/alias index 80e4664..f4b23c9 100644 --- a/alias +++ b/alias @@ -28,7 +28,7 @@ todo() { fix() { ( which $1 ) && grep -Po 'FIXME.*' $(which $1) } -gicd() { +cdgi() { dir=$(gist $1 --no-action) [[ -d $dir ]] && cd $dir } @@ -68,9 +68,10 @@ alias cdD='cd ~/Documents' alias cdV='cd ~/Videos' alias cdP='cd ~/Pictures' -# gist +# github alias gn='gist new' alias cdgg='cd ~/git/gist' +alias hub="GITHUB_TOKEN=$(cat $SETTING_DIR/tokens/github) hub" # about custom settings alias cds='cd $SETTING_DIR' -- cgit v1.2.3-70-g09d2