diff options
| author | typebrook <typebrook@gmail.com> | 2020-02-07 18:44:16 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-02-07 18:44:16 +0800 |
| commit | c742f9f65a4a9c120e300a5c2cac5920127760e5 (patch) | |
| tree | 9fb91478844150c11b33ce688ee7e07d12181104 | |
| parent | 1fddc6ee30028f78c887098bd09d9a6d7f74a877 (diff) | |
update
| -rw-r--r-- | alias | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -20,13 +20,13 @@ alias cdv='cd ~/.vim_runtime' # amix/vimrc repo | |||
| 20 | 20 | ||
| 21 | # script | 21 | # script |
| 22 | vs() { | 22 | vs() { |
| 23 | ( which $1 ) && vim $(which $1) | 23 | which $1 && vim $(which $1) |
| 24 | } | 24 | } |
| 25 | todo() { | 25 | todo() { |
| 26 | ( which $1 ) && grep -Po 'TODO.*' $(which $1) | 26 | which $1 && grep -Po 'TODO.*' $(which $1) |
| 27 | } | 27 | } |
| 28 | fix() { | 28 | fix() { |
| 29 | ( which $1 ) && grep -Po 'FIXME.*' $(which $1) | 29 | which $1 && grep -Po 'FIXME.*' $(which $1) |
| 30 | } | 30 | } |
| 31 | gi() { | 31 | gi() { |
| 32 | dir=$(gist $1 --no-action) | 32 | dir=$(gist $1 --no-action) |