X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/551005fa0055202650a6a24522698d5da8b5e87e..483574f6238c9a8367c8bb29470350b026432e9b:/.mutt/edit-header?ds=sidebyside diff --git a/.mutt/edit-header b/.mutt/edit-header index 0911220..07817d2 100755 --- a/.mutt/edit-header +++ b/.mutt/edit-header @@ -60,8 +60,12 @@ case "$0" in esac -echo "set my_editor=\"\$editor\'" -echo "set editor=\"$editor\"" -echo "push " -# we need to push this so it happens after the editing -echo "push :set editor=\"\$my_editor\"" +echo "set my_editor=\"\$editor\"" +echo "set my_filter=\"$editor\"" +echo -n "push '" +echo -n "set editor=\"\$my_filter\"" +echo -n "" +echo -n "set editor=\"\$my_editor\"" +echo -n "unset my_filter" +echo -n "unset my_editor" +echo "'"