Skip to main content

A simple bash alias to find nikola dr4fts

I use the static site generator Nikola to summon this blog into existence. I'm a slow writer and I often forget which posts I'm working on. Nikola has builtin functionally for dealing with dr4fts so by adding the following alias

alias drafts='grep -rnw ~/path/to/posts -e dr4ft' #4=a

to my ~/.bash_aliases I get a list of unfinished posts. This is trivial but convenient, unfortunately this post will now give a false positive.

Update Sun 02 May 2021 01:47:33 PM CEST

Got tired of the false positive. 4=a.