From 843e189b8e12d8e580b9d999baa5245722f9db6c Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 12 Aug 2018 13:16:11 +1200 Subject: [PATCH] rename editing mailcap file --- .mutt/keybindings | 2 +- .mutt/mailcap-edit-wrapper | 2 -- .mutt/mailcap.editing | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 .mutt/mailcap-edit-wrapper create mode 100644 .mutt/mailcap.editing 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 -- 2.39.2