Skip to content

Commit

Permalink
Merge pull request ipython#4770 from Carreau/closes-4769
Browse files Browse the repository at this point in the history
alway define aliases, even if empty
  • Loading branch information
minrk committed Jan 8, 2014
2 parents d9367f1 + 1e313b5 commit ea5bd67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IPython/terminal/interactiveshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ def init_alias(self):
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)
Expand Down

0 comments on commit ea5bd67

Please sign in to comment.