aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/log
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-12-03 17:33:13 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-12-03 17:33:13 +0800
commitd1b57c1d68fa60a4a67c208f29b739ef0f20d5c5 (patch)
treecb7d281af1ae22efe00a2f10394d6680aab9dfbf /bin/log
parent152ecc894dd24cac6934a10f26f0fcce8445c2ea (diff)
Update
Diffstat (limited to 'bin/log')
-rw-r--r--bin/log/shellrc2
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
2alias cdl='cd ~/log' 2alias cdl='cd ~/log'
3alias chw='tig -C ~/log' 3alias chw='tig -C ~/log'
4ww() { entry="${1:-plan.context}"; vim ~/log/${entry%%.md}.md; } 4ww() { entry="${1:-inbox}"; vim ~/log/${entry%%.md}.md; }
5wj() { echo "$@" >>~/log/buffer.md; } 5wj() { echo "$@" >>~/log/buffer.md; }
6wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; } 6wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; }
7wi() { cat ~/log/${1%%.md}.md; } 7wi() { cat ~/log/${1%%.md}.md; }