diff options
| author | Hsieh Chin Fan <typebrook@topo.tw> | 2023-02-01 13:57:26 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@topo.tw> | 2023-02-01 13:57:26 +0800 |
| commit | 6fdb10c0d1a2192de671f2c6ea899a22927f4ac7 (patch) | |
| tree | 9195f181e4e9dea9bff44c6a4c11afe11e4b7776 /tools | |
| parent | c2b45d72b46354975ce1c3682585d2d6a9701de9 (diff) | |
Update
Diffstat (limited to 'tools')
| -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 04cf5b6..3995ecf 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 $FILE | 21 | vim -c 'Goyo' $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 $today | 30 | vim -c Goyo $today |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | add_entry() { | 33 | add_entry() { |