X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/a3a2e59a9cb6ad1bf4b2397d91cfebd7b00a0c31..a586e58a0608c11613d011e5e17e249d1433f805:/.mutt/muttrc?ds=sidebyside diff --git a/.mutt/muttrc b/.mutt/muttrc index 35915bc..6933157 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -4444,7 +4444,5 @@ source $my_confdir/hooks set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null` source $my_mailboxes -# this sucks a bit since we hardcode ~/.mutt instead of using $my_confdir, but -# apparently we can't expand that mutt variable for the subshell... -set alias_file = `ls ~/.mutt/aliases 2>/dev/null || echo /dev/null` -source $alias_file +set alias_file="$my_confdir/aliases" +source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|"