diff options
author | typebrook <typebrook@gmail.com> | 2020-03-19 00:55:44 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-03-19 00:55:44 +0800 |
commit | ab5c492ebe11aa7dba9f6cc96353b48382ee6939 (patch) | |
tree | d8218b86125223ae6cc7670eed139c9991978701 /alias | |
parent | 3b5ffa090f257a55f01e3f77ca4e8f659adb76dc (diff) |
update
Diffstat (limited to 'alias')
-rw-r--r-- | alias | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -27,10 +27,7 @@ todo() { | |||
27 | fix() { | 27 | fix() { |
28 | which $1 && grep -Po 'FIXME.*' $(which $1) | 28 | which $1 && grep -Po 'FIXME.*' $(which $1) |
29 | } | 29 | } |
30 | gi() { | 30 | alias g='gist' |
31 | dir=$(gist $1 --no-action) | ||
32 | [[ -d $dir ]] && cd $dir | ||
33 | } | ||
34 | 31 | ||
35 | # shell | 32 | # shell |
36 | alias src="source $HOME/.$(basename $SHELL)rc" | 33 | alias src="source $HOME/.$(basename $SHELL)rc" |