diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-02-06 16:12:57 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-02-06 16:12:57 +0800 |
commit | fd14ddb04a2eee567fc234ed77ef4d8c07cf496e (patch) | |
tree | dac770467ae9d535f285989dfae1cfba42985f8b /zsh/_ww.sh | |
parent | 1f55ff59d7b50bfb659fa3e81cd9b627a1c3c807 (diff) |
update
Diffstat (limited to 'zsh/_ww.sh')
-rw-r--r-- | zsh/_ww.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/_ww.sh b/zsh/_ww.sh new file mode 100644 index 0000000..76afae8 --- /dev/null +++ b/zsh/_ww.sh | |||
@@ -0,0 +1,7 @@ | |||
1 | #compdef ww | ||
2 | |||
3 | function _ww() { | ||
4 | compadd -S '' $(cd ~/vimwiki && ls ${words[2]}*) | ||
5 | } | ||
6 | |||
7 | _ww | ||