From: martin f. krafft Date: Tue, 28 Apr 2015 13:37:33 +0000 (+0200) Subject: quote filenames in mailcap invocations X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/69a21fb10b5cc8605bb0686362c389d90c947777 quote filenames in mailcap invocations --- diff --git a/.mutt/mailcap-edit-wrapper b/.mutt/mailcap-edit-wrapper index 6e94104..ee271ae 100644 --- a/.mutt/mailcap-edit-wrapper +++ b/.mutt/mailcap-edit-wrapper @@ -1,2 +1,2 @@ -application/*; chmod +w %s && run-mailcap --action=edit %t:%s -image/*; chmod +w %s && run-mailcap --action=edit %t:%s +application/*; chmod +w '%s' && run-mailcap --action=edit %t:'%s' +image/*; chmod +w '%s' && run-mailcap --action=edit %t:'%s'