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