diff options
author | typebrook <typebrook@gmail.com> | 2020-02-01 00:09:05 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-02-01 00:09:05 +0800 |
commit | c852e6f4cee5cb953800a7db658876ff8e4c7a73 (patch) | |
tree | 992d2ff9ec48f6e91191a6d6d36731a698665713 | |
parent | b83f792e4546f60f0e3c7acb13a2f9c7671cd14a (diff) |
update
-rw-r--r-- | alias | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -28,6 +28,10 @@ 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() { | ||
32 | dir=$(gist $1 | tee /dev/tty | head -1) | ||
33 | [[ -d $dir ]] && cd $dir | ||
34 | } | ||
31 | 35 | ||
32 | # shell | 36 | # shell |
33 | alias src="source $HOME/.$(basename $SHELL)rc" | 37 | alias src="source $HOME/.$(basename $SHELL)rc" |