;doc: timeclock: fix ti/to scripts
This commit is contained in:
parent
a22901a983
commit
2fbd81df2d
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user