aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh/_wi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/_wi.sh')
-rw-r--r--zsh/_wi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/_wi.sh b/zsh/_wi.sh
index c1cd4a8..d99518b 100644
--- a/zsh/_wi.sh
+++ b/zsh/_wi.sh
@@ -1,7 +1,7 @@
1#compdef wi 1#compdef wi
2 2
3function _wi() { 3function _wi() {
4 compadd -S '' $(cd ~/vimwiki && ls ${words[2]}*) 4 compadd -S '' $(cd ~/vimwiki && find -not -path "./logseq/*" -name '*.md' -printf "%f\n" | sed -E '/^[0-9]{4}-[0-9]{2}-[0-9]{2}/d')
5} 5}
6 6
7_wi 7_wi