diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-12-03 17:33:13 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-12-03 17:33:13 +0800 |
commit | d1b57c1d68fa60a4a67c208f29b739ef0f20d5c5 (patch) | |
tree | cb7d281af1ae22efe00a2f10394d6680aab9dfbf /bin/log | |
parent | 152ecc894dd24cac6934a10f26f0fcce8445c2ea (diff) |
Update
Diffstat (limited to 'bin/log')
-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; } |