When I started using contexts I noticed my .taskrc
was changing, as it notes the context changes.
I don’t mind this way of tracking it, but it made me realize I wanted to keep my config elsewhere in a while that didn’t change, so I moved it to an include
.
I use stow
for dotfiles, and was happy to find it does the smart thing for me in replacing/creating directories as needed. So my task directory looks like:
$ pwd && tree -a .
/home/maiki/.dotfiles/task
.
├── .config
│ └── task
│ └── taskrc
└── .taskrc
And .taskrc
is simply:
include ~/.config/task/taskrc
context=morning