X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Flib%2Flogin_functions.sh;h=6f6f9e0d55fd7faa628432eb20a5c544af11aa79;hb=3251b58920796663e71e4eda312d208127e090d9;hp=97de4b90fc807e9b1f95b4cf6a79bc91e6a5750d;hpb=52045fbdc9797a11edfcf8bbc665252bbcdb5d39;p=khome.git diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 97de4b9..6f6f9e0 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -445,7 +445,7 @@ backlog EOF } -todo() { +today() { local date date="$(date +%F)" local -r dir="$DIR_TODO/daily" @@ -459,6 +459,10 @@ todo() { cd "$DIR_TODO" && "$EDITOR" "$file" } +todo() { + cd "$DIR_TODO" && "$EDITOR" TODO +} + work_log_template() { cat << EOF $(date '+%F %A')