##// END OF EJS Templates
%alias now shows 'interesting' aliases last again
vivainio -
Show More
@@ -1,7 +1,7 b''
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 """Magic functions for InteractiveShell.
2 """Magic functions for InteractiveShell.
3
3
4 $Id: Magic.py 2345 2007-05-15 15:31:25Z vivainio $"""
4 $Id: Magic.py 2353 2007-05-15 19:27:14Z vivainio $"""
5
5
6 #*****************************************************************************
6 #*****************************************************************************
7 # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and
7 # Copyright (C) 2001 Janko Hauser <jhauser@zscout.de> and
@@ -2470,7 +2470,7 b' Defaulting color scheme to \'NoColor\'"""'
2470 tgt = atab[alias][1]
2470 tgt = atab[alias][1]
2471 # 'interesting' aliases
2471 # 'interesting' aliases
2472 if (alias in stored or
2472 if (alias in stored or
2473 alias != os.path.splitext(tgt)[0] or
2473 alias.lower() != os.path.splitext(tgt)[0].lower() or
2474 ' ' in tgt):
2474 ' ' in tgt):
2475 showlast.append((alias, tgt))
2475 showlast.append((alias, tgt))
2476 else:
2476 else:
General Comments 0
You need to be logged in to leave comments. Login now