aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh/_ww.sh
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-04-03 22:29:38 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2022-04-03 22:29:38 +0800
commit13e4cd409373a1ab9cc2f574c286582eef6cbe51 (patch)
treecdd7a3e6a5582df2c925cc386366a7acccb92b20 /zsh/_ww.sh
parent9dd24ffd51f0ffe2a48474dc7a2bd5f50f978b5d (diff)
update
Diffstat (limited to 'zsh/_ww.sh')
-rw-r--r--zsh/_ww.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/_ww.sh b/zsh/_ww.sh
index 76afae8..d998099 100644
--- a/zsh/_ww.sh
+++ b/zsh/_ww.sh
@@ -1,7 +1,7 @@
1#compdef ww 1#compdef ww
2 2
3function _ww() { 3function _ww() {
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_ww 7_ww