diff options
Diffstat (limited to 'bin/log/shellrc')
-rw-r--r-- | bin/log/shellrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/log/shellrc b/bin/log/shellrc index a39e291..b3c95fc 100644 --- a/bin/log/shellrc +++ b/bin/log/shellrc | |||
@@ -1,7 +1,7 @@ | |||
1 | # about vimwiki | 1 | # about vimwiki |
2 | alias cdl='cd ~/log' | 2 | alias cdl='cd ~/log' |
3 | alias chw='tig -C ~/log' | 3 | alias chw='tig -C ~/log' |
4 | ww() { entry="${1:-plan.context}"; vim ~/log/${entry%%.md}.md; } | 4 | ww() { entry="${1:-inbox}"; vim ~/log/${entry%%.md}.md; } |
5 | wj() { echo "$@" >>~/log/buffer.md; } | 5 | wj() { echo "$@" >>~/log/buffer.md; } |
6 | wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; } | 6 | wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; } |
7 | wi() { cat ~/log/${1%%.md}.md; } | 7 | wi() { cat ~/log/${1%%.md}.md; } |