aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--alias13
-rw-r--r--bin/log/shellrc12
3 files changed, 12 insertions, 14 deletions
diff --git a/.gitignore b/.gitignore
index f06f9f5..2da2ae9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,2 @@
1private/* 1private/*
2log
3tokens/* 2tokens/*
diff --git a/alias b/alias
index aa5d88e..4a8f1eb 100644
--- a/alias
+++ b/alias
@@ -314,19 +314,6 @@ alias chh="tig -C $SETTING_DIR status"
314alias cdB='cd $HOME/bean' 314alias cdB='cd $HOME/bean'
315alias b='vim $HOME/bean/main.bean' 315alias b='vim $HOME/bean/main.bean'
316 316
317# about vimwiki
318alias cdl='cd ~/log'
319alias chw='tig -C ~/log'
320ww() { entry="${1:-plan.context}"; vim ~/log/${entry%%.md}.md; }
321wj() { echo "$@" >>~/log/buffer.md; }
322wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; }
323wi() { cat ~/log/${1%%.md}.md; }
324wD() { rm ~/log/${1%%.md}.md; }
325alias dia='diary'
326alias dias='diary specify'
327alias diaa='diary print'
328alias diat='diary today'
329
330# crontab 317# crontab
331alias ce='crontab -e' 318alias ce='crontab -e'
332alias cl='crontab -l' 319alias cl='crontab -l'
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
2alias cdl='cd ~/log'
3alias chw='tig -C ~/log'
4ww() { entry="${1:-plan.context}"; vim ~/log/${entry%%.md}.md; }
5wj() { echo "$@" >>~/log/buffer.md; }
6wg() { grep -r "$@" --color --exclude-dir={logseq,.git,.obsidian} ~/log; }
7wi() { cat ~/log/${1%%.md}.md; }
8wD() { rm ~/log/${1%%.md}.md; }
9alias dia='diary'
10alias dias='diary specify'
11alias diaa='diary print'
12alias diat='diary today'