aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh
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
parent9dd24ffd51f0ffe2a48474dc7a2bd5f50f978b5d (diff)
update
Diffstat (limited to 'zsh')
-rw-r--r--zsh/_wi.sh2
-rw-r--r--zsh/_ww.sh2
2 files changed, 2 insertions, 2 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
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