]> 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:

do not hardcode tmpdir
[etc/mutt.git] / .mutt / muttrc
index abfdb07d7667ae67c3179cd256c16cba1e75e1a2..4cbf0b5ae3219c679f1e258fdd85b8a2144e5506 100644 (file)
@@ -34,8 +34,6 @@ set my_confdir="~/.mutt"
 # Type: path
 # Default: "~/.muttrc"
 # 
 # Type: path
 # Default: "~/.muttrc"
 # 
-set alias_file="$my_confdir/aliases"
-source $my_confdir/aliases
 # 
 # The default file in which to save aliases created by the 
 # ``create-alias'' function.
 # 
 # The default file in which to save aliases created by the 
 # ``create-alias'' function.
@@ -2003,6 +2001,7 @@ set pager_context=2
 # is less than pager_index_lines, then the index will only use as
 # many lines as it needs.
 # 
 # is less than pager_index_lines, then the index will only use as
 # many lines as it needs.
 # 
+set pager_index_lines=5
 # 
 # set pager_stop=no
 #
 # 
 # set pager_stop=no
 #
@@ -4140,7 +4139,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.
 # 
 # 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"
 #
 # 
 # set to_chars=" +TCFL"
 #
@@ -4442,5 +4440,8 @@ source $my_confdir/lists
 source $my_confdir/spam
 source $my_confdir/hooks
 
 source $my_confdir/spam
 source $my_confdir/hooks
 
-#set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null`
-#source $my_mailboxes
+set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null`
+source $my_mailboxes
+
+set alias_file="$my_confdir/aliases"
+source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|"