]> git.madduck.net Git - etc/mutt.git/blobdiff - .mutt/muttrc

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

set spoolfile to =inbox
[etc/mutt.git] / .mutt / muttrc
index 35915bc528639afb2e4e26f8b4e28068f7df3b3f..fd09d3dec98ead21e92dabc723408156c3caad58 100644 (file)
@@ -3927,6 +3927,7 @@ set sort_aux=last-date-received
 # automatically set this variable to the value of the environment
 # variable $MAIL if it is not set.
 # 
+set spoolfile="=inbox"
 # 
 # set status_chars="-*%A"
 #
@@ -4139,7 +4140,6 @@ set thorough_search=yes
 # this variable is not set, the environment variable TMPDIR is
 # used.  If TMPDIR is not set then "/tmp" is used.
 # 
-set tmpdir="~/.tmp"
 # 
 # set to_chars=" +TCFL"
 #
@@ -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|"