diff options
author | Florian Pritz <bluewind@xinu.at> | 2024-10-14 21:39:26 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2024-10-14 21:54:03 +0200 |
commit | ffcd3c75d9a5013a8b59d16f0fcf928e42e8a906 (patch) | |
tree | 3bcb25e550b85b9ad61efeaac46ede68abd754e6 /term-open | |
parent | 37ef1a9137a981652355788528d215ff29f98e7f (diff) | |
download | bin-ffcd3c75d9a5013a8b59d16f0fcf928e42e8a906.tar.gz bin-ffcd3c75d9a5013a8b59d16f0fcf928e42e8a906.tar.xz |
term-open: Fix quoting of arguments
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'term-open')
-rwxr-xr-x | term-open | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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}" |