home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make today the daily todo and todo the current
[khome.git]
/
home
/
lib
/
login_functions.sh
diff --git
a/home/lib/login_functions.sh
b/home/lib/login_functions.sh
index
97de4b9
..
6f6f9e0
100644
(file)
--- a/
home/lib/login_functions.sh
+++ b/
home/lib/login_functions.sh
@@
-445,7
+445,7
@@
backlog
EOF
}
-tod
o
() {
+tod
ay
() {
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')
This page took
0.027634 seconds
and
4
git commands to generate.