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

properly handle absent aliases files
[etc/mutt.git] / .mutt / muttrc
index cccfaf4a362bee52bc055fdbaa12e9b04282890d..84260b1589e55f4f5f8a03076a4fa9cd41b3915b 100644 (file)
@@ -34,8 +34,6 @@ set my_confdir="~/.mutt"
 # 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.
@@ -715,7 +713,7 @@ set edit_headers=yes
 # It defaults to the value of the VISUAL, or EDITOR, environment
 # variable, or to the string "/usr/bin/editor" if neither of those are set.
 # 
-set editor="~/coding/mailplate/mailplate --verbose --edit --auto --keep-unknown"
+set editor="mailplate --edit --auto --keep-unknown"
 # 
 # set encode_from=no
 #
@@ -777,6 +775,7 @@ set fast_reply=yes
 # This variable controls whether or not attachments on outgoing messages
 # are saved along with the main body of your message.
 # 
+set fcc_attach=no
 # 
 # set fcc_clear=no
 #
@@ -3711,7 +3710,7 @@ set sig_dashes=no
 # For the default value it would be:
 # 
 # ~f joe | ~s joe
-# 
+set simple_search="~L %s | ~s %s"
 # 
 # set smart_wrap=yes
 #
@@ -4444,3 +4443,6 @@ source $my_confdir/hooks
 
 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 || echo unset alias_file|"