summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-04-23 18:40:14 -0600
committerkotfu <kotfu@kotfu.net>2018-04-23 18:40:14 -0600
commitf47568f8dfdf0a9c909c266b8de3233d1ae8a4fa (patch)
tree813ce80c2811e3bd89440549e342eb48fd0dd2ac /cmd2/cmd2.py
parent7ac59187ffbc14e2eb14a00866231c8b18e1a087 (diff)
downloadcmd2-git-f47568f8dfdf0a9c909c266b8de3233d1ae8a4fa.tar.gz
Shortcuts and aliases fully implemented.
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-xcmd2/cmd2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index c11816a5..e34db7d5 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -804,6 +804,8 @@ class Cmd(cmd.Cmd):
redirection_chars=REDIRECTION_CHARS,
terminators=self.terminators,
multilineCommands=self.multilineCommands,
+ aliases=self.aliases,
+ shortcuts=self.shortcuts,
)
# self.parser_manager = ParserManager(redirector=self.redirector, terminators=self.terminators,
# multilineCommands=self.multilineCommands,