diff options
author | Catherine Devlin <catherine.devlin@gsa.gov> | 2017-05-29 21:07:51 -0500 |
---|---|---|
committer | Catherine Devlin <catherine.devlin@gsa.gov> | 2017-05-29 21:07:51 -0500 |
commit | d86ea01b5ade92139021447f5fd135f392b45c9a (patch) | |
tree | d1bb0be0ff447b875da6ba871a2675c16d8bad11 /cmd2.py | |
parent | e01ff81d323068d6fd62ccdacc36b2474ee4e2d6 (diff) | |
parent | 8c9d7528256f82c64591c5b70e7e9dab5c3c1417 (diff) | |
download | cmd2-git-d86ea01b5ade92139021447f5fd135f392b45c9a.tar.gz |
Merge branch 'master' of https://github.com/python-cmd2/cmd2
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -87,7 +87,7 @@ try: except ImportError: pass -__version__ = '0.7.2' +__version__ = '0.7.3a' # Pyparsing enablePackrat() can greatly speed up parsing, but problems have been seen in Python 3 in the past pyparsing.ParserElement.enablePackrat() @@ -1502,7 +1502,7 @@ class Cmd(cmd.Cmd): if len(possible_path) == 0 and not text: return [] - if os.path.sep not in possible_path: + if os.path.sep not in possible_path and possible_path != '~': # The text before the search text is not a directory path. # It is OK to try shell command completion. command_completions = self._shell_command_complete(text) |