##// END OF EJS Templates
clean up sh profile banner
vivainio -
Show More
@@ -49,7 +49,7 b' def main():'
49
49
50 import sys
50 import sys
51 # I like my banner minimal.
51 # I like my banner minimal.
52 o.banner = "Py %s IPy %s\n" % (sys.version.split('\n')[0],Release.version)
52 o.banner = "IPython %s [on Py %s]\n" % (Release.version,sys.version.split(None,1)[0])
53
53
54 # make 'd' an alias for ls -F
54 # make 'd' an alias for ls -F
55
55
@@ -92,8 +92,13 b' def main():'
92 #print "al",cmd
92 #print "al",cmd
93 noext, ext = os.path.splitext(cmd)
93 noext, ext = os.path.splitext(cmd)
94 ip.IP.alias_table[mapper(noext)] = (0,cmd)
94 ip.IP.alias_table[mapper(noext)] = (0,cmd)
95
96
95 extend_shell_behavior(ip)
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 def extend_shell_behavior(ip):
102 def extend_shell_behavior(ip):
98
103
99 # Instead of making signature a global variable tie it to IPSHELL.
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