mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Add recipe to display random entry
This commit is contained in:
parent
182b5cd35f
commit
3a2f155a21
1 changed files with 9 additions and 0 deletions
|
@ -94,6 +94,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
|
||||
|
|
Loading…
Add table
Reference in a new issue