From: martin f. krafft Date: Sun, 12 Aug 2018 01:16:11 +0000 (+1200) Subject: rename editing mailcap file X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/843e189b8e12d8e580b9d999baa5245722f9db6c?ds=inline;hp=efa3b67730c201eb1cc453eeaa42188638cefa8e rename editing mailcap file --- diff --git a/.mutt/keybindings b/.mutt/keybindings index 5fc17ec..a23c46f 100644 --- a/.mutt/keybindings +++ b/.mutt/keybindings @@ -83,7 +83,7 @@ macro index,pager \el 'set my_editor="$editor" "" "do nothing" -macro attach e 'set my_mailcap_path="$mailcap_path"set mailcap_path="~/.mutt/mailcap-edit-wrapper"set mailcap_path="$my_mailcap_path"' "edit temporary file of attachment" +macro attach e 'set my_mailcap_path="$mailcap_path"set mailcap_path="~/.mutt/mailcap.editing"set mailcap_path="$my_mailcap_path"' "edit temporary file of attachment" macro index,pager M 'set my_weed="$weed"set noweedformail -czx X-RSS-URL: | xargs sensible-browserset weed="$my_weed"' diff --git a/.mutt/mailcap-edit-wrapper b/.mutt/mailcap-edit-wrapper deleted file mode 100644 index ee271ae..0000000 --- a/.mutt/mailcap-edit-wrapper +++ /dev/null @@ -1,2 +0,0 @@ -application/*; chmod +w '%s' && run-mailcap --action=edit %t:'%s' -image/*; chmod +w '%s' && run-mailcap --action=edit %t:'%s' diff --git a/.mutt/mailcap.editing b/.mutt/mailcap.editing new file mode 100644 index 0000000..6e94104 --- /dev/null +++ b/.mutt/mailcap.editing @@ -0,0 +1,2 @@ +application/*; chmod +w %s && run-mailcap --action=edit %t:%s +image/*; chmod +w %s && run-mailcap --action=edit %t:%s