From 3cca2a5bacd7a9d556aaba966537ee746d921431 2014-01-07 19:07:02 From: Thomas Kluyver Date: 2014-01-07 19:07:02 Subject: [PATCH] Merge pull request #4746 from minrk/cls remove redundant cls alias on Windows --- diff --git a/IPython/terminal/interactiveshell.py b/IPython/terminal/interactiveshell.py index 01a0e12..372547e 100644 --- a/IPython/terminal/interactiveshell.py +++ b/IPython/terminal/interactiveshell.py @@ -379,9 +379,6 @@ class TerminalInteractiveShell(InteractiveShell): if os.name == 'posix': aliases = [('clear', 'clear'), ('more', 'more'), ('less', 'less'), ('man', 'man')] - elif os.name == 'nt': - aliases = [('cls', 'cls')] - for name, cmd in aliases: self.alias_manager.soft_define_alias(name, cmd)