##// END OF EJS Templates
alway define aliases, even if empty...
Matthias BUSSONNIER -
Show More
@@ -379,6 +379,8 b' class TerminalInteractiveShell(InteractiveShell):'
379 if os.name == 'posix':
379 if os.name == 'posix':
380 aliases = [('clear', 'clear'), ('more', 'more'), ('less', 'less'),
380 aliases = [('clear', 'clear'), ('more', 'more'), ('less', 'less'),
381 ('man', 'man')]
381 ('man', 'man')]
382 else :
383 aliases = []
382
384
383 for name, cmd in aliases:
385 for name, cmd in aliases:
384 self.alias_manager.soft_define_alias(name, cmd)
386 self.alias_manager.soft_define_alias(name, cmd)
General Comments 0
You need to be logged in to leave comments. Login now