diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/log/shellrc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/log/shellrc b/bin/log/shellrc new file mode 100644 index 0000000..721ed1b --- /dev/null +++ b/bin/log/shellrc | |||
@@ -0,0 +1,12 @@ | |||
1 | # about vimwiki | ||
2 | alias cdl='cd ~/log' | ||
3 | alias chw='tig -C ~/log' | ||
4 | ww() { entry="${1:-plan.context}"; vim ~/log/${entry%%.md}.md; } | ||
5 | wj() { echo "$@" >>~/log/buffer.md; } | ||
6 | wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; } | ||
7 | wi() { cat ~/log/${1%%.md}.md; } | ||
8 | wD() { rm ~/log/${1%%.md}.md; } | ||
9 | alias dia='diary' | ||
10 | alias dias='diary specify' | ||
11 | alias diaa='diary print' | ||
12 | alias diat='diary today' | ||