aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-04-01 08:14:45 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-04-01 08:14:45 +0800
commitec9fa1649008eee0d6a70dece07551d69057a35f (patch)
tree2d067498335aea36d8fbc9568cebf01034bf7c0d
parent64d318c193205b81f84ecf9fc6306159d11ecf2e (diff)
Update
-rwxr-xr-xbin/wiki/diary4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/wiki/diary b/bin/wiki/diary
index 41b3e08..d9cbe83 100755
--- a/bin/wiki/diary
+++ b/bin/wiki/diary
@@ -18,7 +18,7 @@ specify_date() {
18 done 18 done
19 19
20 FILE=~/log/diary/`date -d $YEAR-$MONTH-$DAY +%y.w%W.md` 20 FILE=~/log/diary/`date -d $YEAR-$MONTH-$DAY +%y.w%W.md`
21 vim -c 'Goyo' $FILE 21 $EDITOR -c 'Goyo' $FILE
22} 22}
23 23
24print_today() { 24print_today() {
@@ -27,7 +27,7 @@ print_today() {
27} 27}
28 28
29edit_today() { 29edit_today() {
30 vim -c Goyo $today 30 $EDITOR -c Goyo $today
31} 31}
32 32
33add_entry() { 33add_entry() {