summaryrefslogtreecommitdiff
path: root/cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-21 18:51:24 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-21 18:51:24 -0400
commitfeb9dc3dd41bc0ccf3f742945d1e5eed199dffbc (patch)
treece7d5bcf30c7a57a58ba6a27442eb8264f060ec4 /cmd2.py
parent02e24679fbbf8317b7aa735ece92548497c7c3db (diff)
downloadcmd2-git-feb9dc3dd41bc0ccf3f742945d1e5eed199dffbc.tar.gz
More unit test updates
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 1c869811..84e06b82 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -584,7 +584,7 @@ def path_complete(text, line, begidx, endidx, dir_exe_only=False, dir_only=False
# This is a directory, so don't add a space or quote
set_allow_appended_space(False)
set_allow_closing_quote(False)
- return ["~" + os.path.sep]
+ return [completion_token + os.path.sep]
elif completion_token.startswith('~'):
# Tilde without separator between path is invalid