summaryrefslogtreecommitdiff
path: root/alot/command.py
diff options
context:
space:
mode:
authorpatrick <p.totzke@ed.ac.uk>2011-08-05 13:39:24 +0100
committerpatrick <p.totzke@ed.ac.uk>2011-08-05 13:39:24 +0100
commit2d5f53b16559cb21a0caa77637faee54bae87937 (patch)
treef39f91d7a6263ccf46b199c4daf13d9df567e146 /alot/command.py
parent2cfedff684715bfa021bc938480e28119e7d880a (diff)
fix escape handling when using ! for shellescape
Diffstat (limited to 'alot/command.py')
-rw-r--r--alot/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/command.py b/alot/command.py
index 949d012a..e407d773 100644
--- a/alot/command.py
+++ b/alot/command.py
@@ -830,7 +830,7 @@ def interpret_commandline(cmdline, mode):
# allow to shellescape without a space after '!'
if cmd.startswith('!'):
- params = cmd[1:] + params
+ params = cmd[1:] +' ' + params
cmd = 'shellescape'
# check if this command makes sense in current mode