##// END OF EJS Templates
Changed startup message, and be a bit more conservative with the settings
vivainio -
r131:6942a74f
parent child
Show More
@@ -6,9 +6,13 This is a more flexible and safe way to configure ipython than *rc files
6 This file is always imported on ipython startup. You should import all the
6 This file is always imported on ipython startup. You should import all the
7 ipython extensions you need here (see IPython/Extensions directory).
7 ipython extensions you need here (see IPython/Extensions directory).
8
8
9 Feel free to edit this file to customize your ipython experience. If
10 you wish to only use the old config system, it's perfectly ok to make this file
11 empty.
12
9 """
13 """
10
14
11 # see IPython.ipapi for configuration tips
15 # Most of your config files and extensions will probably start with this import
12
16
13 import IPython.ipapi as ip
17 import IPython.ipapi as ip
14
18
@@ -23,18 +27,17 if o.profile == 'pysh':
23 # if you are doing shell-like stuff
27 # if you are doing shell-like stuff
24 ip.ex("from IPython.path import path" )
28 ip.ex("from IPython.path import path" )
25
29
26 # get pysh-like prompt for all profiles. Comment these out for "old style"
30 # Uncomment these lines to get pysh-like prompt for all profiles.
27 # prompts, as determined by *rc files
28
31
29 o.prompt_in1= '\C_LightBlue[\C_LightCyan\Y1\C_LightBlue]\C_Green|\#> '
32 #o.prompt_in1= '\C_LightBlue[\C_LightCyan\Y1\C_LightBlue]\C_Green|\#> '
30 o.prompt_in2= '\C_Green|\C_LightGreen\D\C_Green> '
33 #o.prompt_in2= '\C_Green|\C_LightGreen\D\C_Green> '
31 o.prompt_out= '<\#> '
34 #o.prompt_out= '<\#> '
32
35
33 # make 'd' an alias for ls -F
36 # make 'd' an alias for ls -F
34
37
35 ip.magic('alias d ls -F --color=auto')
38 ip.magic('alias d ls -F --color=auto')
36
39
37 # Make available all system commands. Comment out to speed up
40 # Make available all system commands. You can comment this line out to speed up
38 # startup os slow machines and conserve a bit of memory
41 # startup on slow machines, and to conserve a bit of memory
39
42
40 ip.magic('rehashx') No newline at end of file
43 ip.magic('rehashx')
@@ -6,7 +6,7 Requires Python 2.3 or newer.
6
6
7 This file contains all the classes and helper functions specific to IPython.
7 This file contains all the classes and helper functions specific to IPython.
8
8
9 $Id: iplib.py 1032 2006-01-20 09:03:57Z fperez $
9 $Id: iplib.py 1038 2006-01-20 23:43:35Z vivainio $
10 """
10 """
11
11
12 #*****************************************************************************
12 #*****************************************************************************
@@ -1099,7 +1099,14 Successful installation!
1099 Please read the sections 'Initial Configuration' and 'Quick Tips' in the
1099 Please read the sections 'Initial Configuration' and 'Quick Tips' in the
1100 IPython manual (there are both HTML and PDF versions supplied with the
1100 IPython manual (there are both HTML and PDF versions supplied with the
1101 distribution) to make sure that your system environment is properly configured
1101 distribution) to make sure that your system environment is properly configured
1102 to take advantage of IPython's features."""
1102 to take advantage of IPython's features.
1103
1104 Important note: the configuration system has changed! The old system is
1105 still in place, but its setting may be partly overridden by the settings in
1106 "~/.ipython/ipy_user_conf.py" config file. Please take a look at the file
1107 if some of the new settings bother you.
1108
1109 """
1103 else:
1110 else:
1104 print """
1111 print """
1105 Successful upgrade!
1112 Successful upgrade!
@@ -7,6 +7,11
7
7
8 * %store now complains when trying to store interactively declared
8 * %store now complains when trying to store interactively declared
9 classes / instances of those classes.
9 classes / instances of those classes.
10
11 * Extensions/ipy_system_conf.py, UserConfig/ipy_user_conf.py,
12 ipmaker.py: Config rehaul. Now ipy_..._conf.py are always imported
13 if they exist, and ipy_user_conf.py with some defaults is created for
14 the user.
10
15
11 2006-01-20 Fernando Perez <Fernando.Perez@colorado.edu>
16 2006-01-20 Fernando Perez <Fernando.Perez@colorado.edu>
12
17
General Comments 0
You need to be logged in to leave comments. Login now