From 69a21fb10b5cc8605bb0686362c389d90c947777 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 28 Apr 2015 15:37:33 +0200 Subject: [PATCH] quote filenames in mailcap invocations --- .mutt/mailcap-edit-wrapper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' -- 2.39.2