Show More
@@ -9,20 +9,21 b' IPython as a system shell' | |||||
9 | Overview |
|
9 | Overview | |
10 | ======== |
|
10 | ======== | |
11 |
|
11 | |||
12 |
It is possible to adapt IPython for system shell usage. I |
|
12 | It is possible to adapt IPython for system shell usage. In the past, IPython | |
13 |
special 'sh' profile for this purpose, but it had been quarantined |
|
13 | shipped a special 'sh' profile for this purpose, but it had been quarantined | |
14 |
release, and was removed altogether |
|
14 | since 0.11 release, and in 1.0 it was removed altogether. Nevertheless, much | |
15 | section relies on machinery which does not require a custom profile. |
|
15 | of this section relies on machinery which does not require a custom profile. | |
16 |
|
16 | |||
17 |
You can set up your own 'sh' profile to be different from |
|
17 | You can set up your own 'sh' :ref:`profile <Profiles>` to be different from | |
18 | such that: |
|
18 | the default profile such that: | |
19 |
|
19 | |||
20 | * Prompt shows the current directory (see `Prompt customization`_) |
|
20 | * Prompt shows the current directory (see `Prompt customization`_) | |
21 | * Make system commands directly available (in alias table) |
|
21 | * Make system commands directly available (in alias table) by running the | |
22 |
|
|
22 | ``%rehashx`` magic. If you install new programs along your PATH, you might | |
23 |
|
|
23 | want to run ``%rehashx`` to update the alias table | |
24 | * turn ``%autocall`` to full mode |
|
24 | * turn ``%autocall`` to full mode | |
25 |
|
25 | |||
|
26 | ||||
26 | Aliases |
|
27 | Aliases | |
27 | ======= |
|
28 | ======= | |
28 |
|
29 | |||
@@ -81,6 +82,9 b' You can change the prompt configuration to your liking permanently by editing' | |||||
81 | c.PromptManager.in2_template = r'{color.Green}|{color.LightGreen}\D{color.Green}> ' |
|
82 | c.PromptManager.in2_template = r'{color.Green}|{color.LightGreen}\D{color.Green}> ' | |
82 | c.PromptManager.out_template = r'<\#> ' |
|
83 | c.PromptManager.out_template = r'<\#> ' | |
83 |
|
84 | |||
|
85 | Read more about the :ref:`configuration system <config_overview>` for details | |||
|
86 | on how to find ``ipython_config.py``. | |||
|
87 | ||||
84 | .. _string_lists: |
|
88 | .. _string_lists: | |
85 |
|
89 | |||
86 | String lists |
|
90 | String lists |
General Comments 0
You need to be logged in to leave comments.
Login now