]> projects.mako.cc - muttjump/commitdiff
use `mutt -f` instead of <change-folder>
authorJohannes Weißl <jargon@molb.org>
Thu, 11 Nov 2010 08:04:02 +0000 (09:04 +0100)
committerJohannes Weißl <jargon@molb.org>
Thu, 11 Nov 2010 08:04:02 +0000 (09:04 +0100)
<change-folder> doesn't work with spaces in maildir name.

muttjump

index 32644d3b21f5e66e2a8f95a11f112277379e0cd4..dd720343f85b1a69cf645d50d36f3e6ab8d0da29 100755 (executable)
--- a/muttjump
+++ b/muttjump
@@ -145,7 +145,7 @@ if [ "$MUTTJUMP_USE_SCREEN" = no ] ; then
     exec < $term
 
     # start mutt, open original folder and jump to the original message
-    $MUTT -e "push \"<change-folder>$orig_maildir<enter>$jump_cmd\""
+    $MUTT -f "$orig_maildir" -e "push \"$jump_cmd\""
 
 else
 

Benjamin Mako Hill || Want to submit a patch?