chore: deprecate generate-week
This commit is contained in:
parent
84cd582537
commit
ee50a30c78
31
README
31
README
|
@ -7,24 +7,8 @@ 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)
|
||||
|
@ -39,3 +23,18 @@ add to e.g. .zshrc:
|
|||
vim -c "/$date" $timedir/$year.timedot
|
||||
}
|
||||
|
||||
generate-week.sh
|
||||
----------------
|
||||
|
||||
/!\ deprecated in favour of generate-year.sh.
|
||||
|
||||
cron usage:
|
||||
|
||||
1 0 * * 1 TEMPLATE="work 8" 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