Show More
@@ -49,7 +49,7 b' def main():' | |||
|
49 | 49 | |
|
50 | 50 | import sys |
|
51 | 51 | # I like my banner minimal. |
|
52 |
o.banner = "Py %s |
|
|
52 | o.banner = "IPython %s [on Py %s]\n" % (Release.version,sys.version.split(None,1)[0]) | |
|
53 | 53 | |
|
54 | 54 | # make 'd' an alias for ls -F |
|
55 | 55 | |
@@ -92,8 +92,13 b' def main():' | |||
|
92 | 92 | #print "al",cmd |
|
93 | 93 | noext, ext = os.path.splitext(cmd) |
|
94 | 94 | ip.IP.alias_table[mapper(noext)] = (0,cmd) |
|
95 | ||
|
96 | ||
|
95 | 97 | extend_shell_behavior(ip) |
|
96 | 98 | |
|
99 | # XXX You do not need to understand the next function! | |
|
100 | # This should probably be moved out of profile | |
|
101 | ||
|
97 | 102 | def extend_shell_behavior(ip): |
|
98 | 103 | |
|
99 | 104 | # Instead of making signature a global variable tie it to IPSHELL. |
General Comments 0
You need to be logged in to leave comments.
Login now