Show More
@@ -281,7 +281,7 b' configuration, and by default, all profiles will be stored in the so called' | |||
|
281 | 281 | "IPython directory". The location of this directory is determined by the |
|
282 | 282 | following algorithm: |
|
283 | 283 | |
|
284 |
* If the ``ipython |
|
|
284 | * If the ``ipython-dir`` command line flag is given, its value is used. | |
|
285 | 285 | |
|
286 | 286 | * If not, the value returned by :func:`IPython.utils.path.get_ipython_dir` |
|
287 | 287 | is used. This function will first look at the :envvar:`IPYTHONDIR` |
@@ -324,6 +324,25 b' under :file:`profile_default`. If you want the default config files for the' | |||
|
324 | 324 | :mod:`IPython.parallel` applications, add ``--parallel`` to the end of the |
|
325 | 325 | command-line args. |
|
326 | 326 | |
|
327 | ||
|
328 | Locating these files | |
|
329 | -------------------- | |
|
330 | ||
|
331 | From the command-line, you can quickly locate the IPYTHONDIR or a specific | |
|
332 | profile with: | |
|
333 | ||
|
334 | .. sourcecode:: bash | |
|
335 | ||
|
336 | $> ipython locate | |
|
337 | /home/you/.ipython | |
|
338 | ||
|
339 | $> ipython locate profile foo | |
|
340 | /home/you/.ipython/profile_foo | |
|
341 | ||
|
342 | These map to the utility functions: :func:`IPython.utils.path.get_ipython_dir` | |
|
343 | and :func:`IPython.utils.path.locate_profile` respectively. | |
|
344 | ||
|
345 | ||
|
327 | 346 | .. _Profiles: |
|
328 | 347 | |
|
329 | 348 | Profiles |
General Comments 0
You need to be logged in to leave comments.
Login now