summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2.py')
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index 73ee4ffd..33050e6e 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -2377,7 +2377,7 @@ Usage: Usage: unalias [-a] name [name ...]
if command_completions:
# Only add a space if there is one completion not in quotes and the end of the line
- if len(command_completions) == 1 and endidx == len(line):
+ if len(command_completions) == 1 and not in_quotes and endidx == len(line):
command_completions[0] += ' '
return command_completions