diff options
| author | Hsieh Chin Fan <typebrook@topo.tw> | 2023-01-31 12:04:51 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@topo.tw> | 2023-01-31 12:04:51 +0800 |
| commit | c2b45d72b46354975ce1c3682585d2d6a9701de9 (patch) | |
| tree | 4b8204a90c92278479038ce66d6ea8874d8c7e9f /tools/wiki/diary | |
| parent | dd69d5cc0e4659192aa3a7ccf4e2df83cfae7933 (diff) | |
Update
Diffstat (limited to 'tools/wiki/diary')
| -rwxr-xr-x | tools/wiki/diary | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/wiki/diary b/tools/wiki/diary index 3995ecf..04cf5b6 100755 --- a/tools/wiki/diary +++ b/tools/wiki/diary | |||
| @@ -18,7 +18,7 @@ specify_date() { | |||
| 18 | done | 18 | done |
| 19 | 19 | ||
| 20 | FILE=~/log/diary/20$YEAR-$MONTH-$DAY.md | 20 | FILE=~/log/diary/20$YEAR-$MONTH-$DAY.md |
| 21 | vim -c 'Goyo' $FILE | 21 | vim $FILE |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | print_today() { | 24 | print_today() { |
| @@ -27,7 +27,7 @@ print_today() { | |||
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | edit_today() { | 29 | edit_today() { |
| 30 | vim -c Goyo $today | 30 | vim $today |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | add_entry() { | 33 | add_entry() { |