Merge pull request #143 from markokocic/alias-fix
Fix timelog alias examples
This commit is contained in:
commit
de473b99b2
@ -601,8 +601,8 @@ To generate time logs, ie to clock in and clock out, you could:
|
|||||||
|
|
||||||
- at the command line, use these bash aliases:
|
- at the command line, use these bash aliases:
|
||||||
|
|
||||||
alias ti="echo i `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"
|
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).
|
- 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.
|
These rely on a "timeclock" executable which I think is just the ledger 2 executable renamed.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user