X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Flib%2Flogin_functions.sh;h=d585191429a29b9dcab4947dcc35bdd7fd83713d;hb=a8c4d37067aaa05ecd492772675f5d0393960fd8;hp=97de4b90fc807e9b1f95b4cf6a79bc91e6a5750d;hpb=52045fbdc9797a11edfcf8bbc665252bbcdb5d39;p=khome.git diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 97de4b9..d585191 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -439,13 +439,28 @@ cat << EOF $(date '+%F %A') =============================================================================== +------------------------------------------------------------------------------- +TO FINISH TODAY +------------------------------------------------------------------------------- + + +------------------------------------------------------------------------------- +CURRENTLY IMPORTANT +------------------------------------------------------------------------------- + + +------------------------------------------------------------------------------- +BLOCKED +------------------------------------------------------------------------------- -backlog + +------------------------------------------------------------------------------- +BACKLOG ------------------------------------------------------------------------------- EOF } -todo() { +today() { local date date="$(date +%F)" local -r dir="$DIR_TODO/daily" @@ -456,7 +471,11 @@ todo() { then daily_todo_file_template > "$file" fi - cd "$DIR_TODO" && "$EDITOR" "$file" + cd "$DIR_TODO" && "$EDITOR" $EDITOR_ARGS "$file" +} + +todo() { + cd "$DIR_TODO" && "$EDITOR" TODO } work_log_template() {