From ec9fa1649008eee0d6a70dece07551d69057a35f Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 1 Apr 2023 08:14:45 +0800 Subject: Update --- bin/wiki/diary | 4 ++-- 1 file 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() { done FILE=~/log/diary/`date -d $YEAR-$MONTH-$DAY +%y.w%W.md` - vim -c 'Goyo' $FILE + $EDITOR -c 'Goyo' $FILE } print_today() { @@ -27,7 +27,7 @@ print_today() { } edit_today() { - vim -c Goyo $today + $EDITOR -c Goyo $today } add_entry() { -- cgit v1.2.3-70-g09d2