Paul van der Walt
2011-11-10 19:32:39 UTC
Dear cmus devs,
Strange question maybe, but since I've got my dotfiles in a
git repository (quite the fashion these days I'm told), I'd like
to be able to do a conditional in my config files. In mutt I use
a line like the following:
source ~/.mutt-`test -e ~/.mutt-$(hostname -s) && echo $(hostname -s) || echo global`
Although the same doesn't seem possible with cmus, since it
doesn't seem to evaluate things in backticks. Is there a method
you guys know of, or should I try to hack it in?
Cheers
Paul
Strange question maybe, but since I've got my dotfiles in a
git repository (quite the fashion these days I'm told), I'd like
to be able to do a conditional in my config files. In mutt I use
a line like the following:
source ~/.mutt-`test -e ~/.mutt-$(hostname -s) && echo $(hostname -s) || echo global`
Although the same doesn't seem possible with cmus, since it
doesn't seem to evaluate things in backticks. Is there a method
you guys know of, or should I try to hack it in?
Cheers
Paul