aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh/_wi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/_wi.sh')
-rw-r--r--zsh/_wi.sh7
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
3function _wi() {
4 compadd -S '' $(cd ~/vimwiki && ls ${words[2]}*)
5}
6
7_wi