dotfiles/.dotfiles/docs/khal.md

11 lines
196 B
Markdown

# Khal
## Get only next event
```
# -df "": Show empty day headers
# grep -v "^ ": remove all-day events
# head -n 1: Get only the first item
khal list now -df "" | grep -v "^ " | head -n 1
```