summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/windows.py b/src/windows.py
index 50cad4c6..77523e8f 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -1077,8 +1077,7 @@ class Input(Win):
completion_type = config.get('completion', 'normal')
if quotify:
for i, word in enumerate(word_list[:]):
- if ' ' in word:
- word_list[i] = '"' + word + '"'
+ word_list[i] = '"' + word + '"'
if completion_type == 'shell' and self.text != '':
self.shell_completion(word_list, add_after)
else: