]> 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 confdir without ~
[etc/mutt.git] / .mutt / muttrc
index ad2d8d2f8add37cc6ce1effa7b3c5c2ee0b68f56..f042cbba8b85209dac7c853a50316205aef3de63 100644 (file)
@@ -1,6 +1,6 @@
 # from /usr/share/doc/mutt/examples/Muttrc.gz
 
-set my_confdir="~/.mutt"
+set my_confdir="$HOME/.mutt"
 
 # set abort_nosubject=ask-yes
 #
@@ -1552,6 +1552,7 @@ set include=yes
 # This variable specifies which files to consult when attempting to
 # display MIME bodies not directly supported by Mutt.
 # 
+set mailcap_path="$my_confdir/mailcap.icalendar:$my_confdir/mailcap.backgrounding:$my_confdir/mailcap.htmldump"
 # 
 # set mailcap_sanitize=yes
 #
@@ -3687,7 +3688,7 @@ set save_history=100
 # arguments as recipient addresses.
 # 
 #set sendmail="/bin/true"
-set sendmail="~/.mutt/sendmail"
+set sendmail="$my_confdir/sendmail"
 #set sendmail="/usr/sbin/sendmail -oem -oi"
 # 
 # set sendmail_wait=0
@@ -4529,14 +4530,16 @@ set xterm_set_titles=yes
 # Controls the format of the title bar of the xterm provided that
 # xterm_set_titles has been set. This string is identical in formatting
 # to the one used by ``$status_format''.
-# 
+#
 set xterm_title="mutt@%h [%?M?%M/?%m, n:%n]%?V? [%V]?"
-# 
+#
 
-auto_view text/html
+auto_view text/html application/ics text/calendar
 #auto_view application/x-gunzip application/x-tar-gz application/x-tar application/x-gtar
 #auto_view application/postscript
-alternative_order text/enriched text/plain text application/postscript image/*
+alternative_order multipart/mixed multipart/related text/html text/enriched text/*
+#alternative_order text/plain text/enriched text/html
+#alternative_order text/enriched text/plain text application/postscript image/*
 mime_lookup application/octet-stream
 
 source $my_confdir/colours
@@ -4547,8 +4550,9 @@ source $my_confdir/lists
 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_mutt_mailboxes = "$VARDIR/mutt/mailboxes"
+source "test -f $my_mutt_mailboxes && cat $my_mutt_mailboxes|
+#source "$my_confdir/list-mailboxes $folder $spoolfile|"
 
 set alias_file="$my_confdir/aliases"
 source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|"