chore: update readme
This commit is contained in:
parent
6ff5828ff2
commit
84cd582537
29
README
29
README
|
@ -7,8 +7,24 @@ usage:
|
|||
|
||||
parameter [year] is optional, omit to use current year
|
||||
|
||||
generate-week.sh
|
||||
----------------
|
||||
|
||||
cron usage:
|
||||
|
||||
1 0 * * 1 TEMPLATE="dhis2 7.5" TIME_DIR=~/plan/time /home/varl/bin/generate-week.sh write
|
||||
|
||||
user alias:
|
||||
|
||||
function te () {
|
||||
$EDITOR ~/plan/time/current.timedot
|
||||
}
|
||||
|
||||
user alias
|
||||
----------
|
||||
|
||||
add to e.g. .zshrc:
|
||||
|
||||
function te {
|
||||
local date=${1:-$(date -I)}
|
||||
local year=$(date -d $date +%Y)
|
||||
|
@ -23,16 +39,3 @@ user alias:
|
|||
vim -c "/$date" $timedir/$year.timedot
|
||||
}
|
||||
|
||||
generate-week.sh
|
||||
----------------
|
||||
|
||||
cron usage:
|
||||
|
||||
1 0 * * 1 TEMPLATE="dhis2 7.5" TIME_DIR=~/plan/time /home/varl/bin/generate-week.sh write
|
||||
|
||||
user alias:
|
||||
|
||||
function te () {
|
||||
$EDITOR ~/plan/time/current.timedot
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue