;doc: timeclock: fix ti/to scripts

This commit is contained in:
Simon Michael 2024-08-06 18:13:27 +01:00
parent a22901a983
commit 2fbd81df2d

View File

@ -4328,8 +4328,8 @@ To generate time logs, ie to clock in and clock out, you could:
- at the command line, use these bash aliases:
```cli
alias ti="echo i `date '+%Y-%m-%d %H:%M:%S'` \$* >>$TIMELOG"
alias to="echo o `date '+%Y-%m-%d %H:%M:%S'` >>$TIMELOG"
alias ti='echo i `date "+%Y-%m-%d %H:%M:%S"` $* >>$TIMELOG'
alias to='echo o `date "+%Y-%m-%d %H:%M:%S"` >>$TIMELOG'
```
- or use the old `ti` and `to` scripts in the [ledger 2.x repository](https://github.com/ledger/ledger/tree/maint/scripts).
These rely on a "timeclock" executable which I think is just the ledger 2 executable renamed.