summaryrefslogtreecommitdiffstats
path: root/term-open
diff options
context:
space:
mode:
Diffstat (limited to 'term-open')
-rwxr-xr-xterm-open6
1 files changed, 3 insertions, 3 deletions
diff --git a/term-open b/term-open
index d47367c..7307741 100755
--- a/term-open
+++ b/term-open
@@ -7,10 +7,10 @@ term=termite
if [[ $cmd = "mutt" ]]; then
if [[ "$*" = 'mailto:?'* ]]; then
- exec termite -e "mutt -- $*"
+ exec termite -e "mutt -- ${*@Q}"
else
- exec termite -e "mutt -e 'set autoedit=yes' -- $*"
+ exec termite -e "mutt -e 'set autoedit=yes' -- ${*@Q}"
fi
fi
-exec termite -e "$cmd -- $*"
+exec termite -e "$cmd -- ${*@Q}"