summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index ced4f08c..439c6e38 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -1924,7 +1924,7 @@ class Cmd(cmd.Cmd):
else:
# Check if this command should be run as a shell command
if self.default_to_shell and command in self.get_exes_in_path(command):
- compfunc = functools.partial(self.path_complete)
+ compfunc = self.path_complete
else:
compfunc = self.completedefault