From 69fa3ad6862b958af0a14e0795646e436e52fa81 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Mon, 12 Jun 2023 13:49:42 +0800 Subject: Update --- bin/log/shellrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 bin/log/shellrc (limited to 'bin') 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 @@ +# about vimwiki +alias cdl='cd ~/log' +alias chw='tig -C ~/log' +ww() { entry="${1:-plan.context}"; vim ~/log/${entry%%.md}.md; } +wj() { echo "$@" >>~/log/buffer.md; } +wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; } +wi() { cat ~/log/${1%%.md}.md; } +wD() { rm ~/log/${1%%.md}.md; } +alias dia='diary' +alias dias='diary specify' +alias diaa='diary print' +alias diat='diary today' -- cgit v1.2.3-70-g09d2