diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-25 13:01:18 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-03-25 13:01:18 +0800 |
commit | b9b3e59140f99e5311557d03794f768c1b561cac (patch) | |
tree | a336afa89e41409d13b30db55b509e264c23faa3 | |
parent | c63a32304c6baff4a0a5bc92ecd20448b637dcef (diff) |
update
-rw-r--r-- | zsh/_wi.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/_wi.sh b/zsh/_wi.sh new file mode 100644 index 0000000..c1cd4a8 --- /dev/null +++ b/zsh/_wi.sh | |||
@@ -0,0 +1,7 @@ | |||
1 | #compdef wi | ||
2 | |||
3 | function _wi() { | ||
4 | compadd -S '' $(cd ~/vimwiki && ls ${words[2]}*) | ||
5 | } | ||
6 | |||
7 | _wi | ||