Show More
@@ -1,5 +1,5 b'' | |||||
1 | # -*- Mode: Shell-Script -*- Not really, but shows comments correctly |
|
1 | # -*- Mode: Shell-Script -*- Not really, but shows comments correctly | |
2 |
# $Id: ipythonrc |
|
2 | # $Id: ipythonrc 1155 2006-02-12 01:21:00Z fperez $ | |
3 |
|
3 | |||
4 | #*************************************************************************** |
|
4 | #*************************************************************************** | |
5 | # |
|
5 | # | |
@@ -105,14 +105,14 b' autoedit_syntax 1' | |||||
105 | # The feature is potentially a bit dangerous, because it can cause problems |
|
105 | # The feature is potentially a bit dangerous, because it can cause problems | |
106 | # with pasting of indented code (the pasted code gets re-indented on each |
|
106 | # with pasting of indented code (the pasted code gets re-indented on each | |
107 | # line). But it's a huge time-saver when working interactively. The magic |
|
107 | # line). But it's a huge time-saver when working interactively. The magic | |
108 |
# function |
|
108 | # function %autoindent allows you to toggle it on/off at runtime. | |
109 |
|
109 | |||
110 | autoindent 1 |
|
110 | autoindent 1 | |
111 |
|
111 | |||
112 | # Auto-magic. This gives you access to all the magic functions without having |
|
112 | # Auto-magic. This gives you access to all the magic functions without having | |
113 |
# to prepend them with an |
|
113 | # to prepend them with an % sign. If you define a variable with the same name | |
114 | # as a magic function (say who=1), you will need to access the magic function |
|
114 | # as a magic function (say who=1), you will need to access the magic function | |
115 |
# with |
|
115 | # with % (%who in this example). However, if later you delete your variable | |
116 | # (del who), you'll recover the automagic calling form. |
|
116 | # (del who), you'll recover the automagic calling form. | |
117 |
|
117 | |||
118 | # Considering that many magic functions provide a lot of shell-like |
|
118 | # Considering that many magic functions provide a lot of shell-like | |
@@ -178,13 +178,13 b' colors Linux' | |||||
178 |
|
178 | |||
179 | # If your pager has problems, try to setting it to properly handle escapes |
|
179 | # If your pager has problems, try to setting it to properly handle escapes | |
180 | # (see the less manpage for detail), or disable this option. The magic |
|
180 | # (see the less manpage for detail), or disable this option. The magic | |
181 |
# function |
|
181 | # function %color_info allows you to toggle this interactively for testing. | |
182 |
|
182 | |||
183 | color_info 1 |
|
183 | color_info 1 | |
184 |
|
184 | |||
185 | # confirm_exit: set to 1 if you want IPython to confirm when you try to exit |
|
185 | # confirm_exit: set to 1 if you want IPython to confirm when you try to exit | |
186 | # with an EOF (Control-d in Unix, Control-Z/Enter in Windows). Note that using |
|
186 | # with an EOF (Control-d in Unix, Control-Z/Enter in Windows). Note that using | |
187 |
# the magic functions |
|
187 | # the magic functions %Exit or %Quit you can force a direct exit, bypassing | |
188 | # any confirmation. |
|
188 | # any confirmation. | |
189 |
|
189 | |||
190 | confirm_exit 1 |
|
190 | confirm_exit 1 | |
@@ -194,7 +194,7 b' confirm_exit 1' | |||||
194 |
|
194 | |||
195 | deep_reload 0 |
|
195 | deep_reload 0 | |
196 |
|
196 | |||
197 |
# Which editor to use with the |
|
197 | # Which editor to use with the %edit command. If you leave this at 0, IPython | |
198 | # will honor your EDITOR environment variable. Since this editor is invoked on |
|
198 | # will honor your EDITOR environment variable. Since this editor is invoked on | |
199 | # the fly by ipython and is meant for editing small code snippets, you may |
|
199 | # the fly by ipython and is meant for editing small code snippets, you may | |
200 | # want to use a small, lightweight editor here. |
|
200 | # want to use a small, lightweight editor here. | |
@@ -525,7 +525,7 b' execute' | |||||
525 |
|
525 | |||
526 | # execute __IPYTHON__.magic_pf = __IPYTHON__.magic_profile |
|
526 | # execute __IPYTHON__.magic_pf = __IPYTHON__.magic_profile | |
527 |
|
527 | |||
528 |
# defines |
|
528 | # defines %pf as a new name for %profile. | |
529 |
|
529 | |||
530 | #--------------------------------------------------------------------------- |
|
530 | #--------------------------------------------------------------------------- | |
531 | # Section: Pyhton files to load and execute. |
|
531 | # Section: Pyhton files to load and execute. | |
@@ -566,12 +566,12 b' execfile' | |||||
566 | # Section: aliases for system shell commands |
|
566 | # Section: aliases for system shell commands | |
567 |
|
567 | |||
568 | # Here you can define your own names for system commands. The syntax is |
|
568 | # Here you can define your own names for system commands. The syntax is | |
569 |
# similar to that of the builtin |
|
569 | # similar to that of the builtin %alias function: | |
570 |
|
570 | |||
571 | # alias alias_name command_string |
|
571 | # alias alias_name command_string | |
572 |
|
572 | |||
573 | # The resulting aliases are auto-generated magic functions (hence usable as |
|
573 | # The resulting aliases are auto-generated magic functions (hence usable as | |
574 |
# |
|
574 | # %alias_name) | |
575 |
|
575 | |||
576 | # For example: |
|
576 | # For example: | |
577 |
|
577 | |||
@@ -587,7 +587,7 b' execfile' | |||||
587 | # alias parts echo first %s second %s |
|
587 | # alias parts echo first %s second %s | |
588 |
|
588 | |||
589 | # will give you in IPython: |
|
589 | # will give you in IPython: | |
590 |
# >>> |
|
590 | # >>> %parts A B | |
591 | # first A second B |
|
591 | # first A second B | |
592 |
|
592 | |||
593 | # Use one 'alias' statement per alias you wish to define. |
|
593 | # Use one 'alias' statement per alias you wish to define. |
@@ -1,5 +1,8 b'' | |||||
1 | 2006-02-11 Fernando Perez <Fernando.Perez@colorado.edu> |
|
1 | 2006-02-11 Fernando Perez <Fernando.Perez@colorado.edu> | |
2 |
|
2 | |||
|
3 | * IPython/UserConfig/ipythonrc: Replace @ signs with % when | |||
|
4 | describing magics (we haven't used @ for a loong time). | |||
|
5 | ||||
3 | * IPython/ultraTB.py (VerboseTB.text.text_repr): Added patch |
|
6 | * IPython/ultraTB.py (VerboseTB.text.text_repr): Added patch | |
4 | contributed by marienz to close |
|
7 | contributed by marienz to close | |
5 | http://www.scipy.net/roundup/ipython/issue53. |
|
8 | http://www.scipy.net/roundup/ipython/issue53. |
General Comments 0
You need to be logged in to leave comments.
Login now