aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-02-07 18:44:16 +0800
committertypebrook <typebrook@gmail.com>2020-02-07 18:44:16 +0800
commitc742f9f65a4a9c120e300a5c2cac5920127760e5 (patch)
tree9fb91478844150c11b33ce688ee7e07d12181104 /alias
parent1fddc6ee30028f78c887098bd09d9a6d7f74a877 (diff)
update
Diffstat (limited to 'alias')
-rw-r--r--alias6
1 files changed, 3 insertions, 3 deletions
diff --git a/alias b/alias
index 23e1c7e..7956390 100644
--- a/alias
+++ b/alias
@@ -20,13 +20,13 @@ alias cdv='cd ~/.vim_runtime' # amix/vimrc repo
20 20
21# script 21# script
22vs() { 22vs() {
23 ( which $1 ) && vim $(which $1) 23 which $1 && vim $(which $1)
24} 24}
25todo() { 25todo() {
26 ( which $1 ) && grep -Po 'TODO.*' $(which $1) 26 which $1 && grep -Po 'TODO.*' $(which $1)
27} 27}
28fix() { 28fix() {
29 ( which $1 ) && grep -Po 'FIXME.*' $(which $1) 29 which $1 && grep -Po 'FIXME.*' $(which $1)
30} 30}
31gi() { 31gi() {
32 dir=$(gist $1 --no-action) 32 dir=$(gist $1 --no-action)