Add recipe to display random entry

This commit is contained in:
Greg Bodnar 2019-07-24 19:56:03 +12:00
parent 4de6619bfb
commit d35c5f50a8

View file

@ -93,6 +93,15 @@ log_question 'What did I achieve today?'
log_question 'What did I make progress with?'
```
### Display random entry
You can use this to select one title at random and then display the whole
entry.
``` sh
jrnl -on "$(jrnl --short | shuf -n 1 | cut -d' ' -f1,2)"
```
## External editors
To use external editors for writing and editing journal entries, set