From 1b1c38bbe7485aea34f1ba862f57d0c667e22199 2014-01-08 15:55:35 From: Matthias BUSSONNIER Date: 2014-01-08 15:55:35 Subject: [PATCH] alway define aliases, even if empty closes gh-4769 --- diff --git a/IPython/terminal/interactiveshell.py b/IPython/terminal/interactiveshell.py index 372547e..cec2762 100644 --- a/IPython/terminal/interactiveshell.py +++ b/IPython/terminal/interactiveshell.py @@ -379,6 +379,8 @@ class TerminalInteractiveShell(InteractiveShell): if os.name == 'posix': aliases = [('clear', 'clear'), ('more', 'more'), ('less', 'less'), ('man', 'man')] + else : + aliases = [] for name, cmd in aliases: self.alias_manager.soft_define_alias(name, cmd)