Skip to content

Commit

Permalink
Merge pull request ipython#8 from ivanov/ipython-dir-default
Browse files Browse the repository at this point in the history
main change is adding a what's new entry
  • Loading branch information
takluyver committed Oct 31, 2013
2 parents ddfb33e + 3884f71 commit a9beb5f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
7 changes: 3 additions & 4 deletions IPython/core/usage.py
Expand Up @@ -45,10 +45,9 @@
This file is typically installed in the `IPYTHONDIR` directory, and there
is a separate configuration directory for each profile. The default profile
directory will be located in $IPYTHONDIR/profile_default. For Linux users,
IPYTHONDIR defaults to `$HOME/.config/ipython`, and for other Unix systems
to `$HOME/.ipython`. For Windows users, $HOME resolves to C:\\Documents
and Settings\\YourUserName in most instances.
directory will be located in $IPYTHONDIR/profile_default. IPYTHONDIR
defaults to to `$HOME/.ipython`. For Windows users, $HOME resolves to
C:\\Documents and Settings\\YourUserName in most instances.
To initialize a profile with the default configuration file, do::
Expand Down
3 changes: 1 addition & 2 deletions docs/man/ipython.1
Expand Up @@ -45,8 +45,7 @@ or 'ipython \-\-help\-all' for all available command\(hyline options.
\fIIPYTHONDIR\fR
.RS 4
This is the location where IPython stores all its configuration files. The default
on most platforms is $HOME/.ipython, but on Linux IPython respects the XDG config
specification, which will put IPYTHONDIR in $HOME/.config/ipython by default.
is $HOME/.ipython if IPYTHONDIR is not defined.

You can see the computed value of IPYTHONDIR with `ipython locate`.

Expand Down
3 changes: 1 addition & 2 deletions docs/source/config/old.rst
Expand Up @@ -12,8 +12,7 @@ Outdated configuration information that might still be useful
This section will help you set various things in your environment for
your IPython sessions to be as efficient as possible. All of IPython's
configuration information, along with several example files, is stored
in a directory named by default $HOME/.config/ipython if $HOME/.config
exists (Linux), or $HOME/.ipython as a secondary default. You can change this by
in a directory named by default $HOME/.ipython. You can change this by
defining the environment variable IPYTHONDIR, or at runtime with the
command line option -ipythondir.

Expand Down
2 changes: 0 additions & 2 deletions docs/source/config/overview.rst
Expand Up @@ -527,5 +527,3 @@ Here are the main requirements we wanted our configuration system to have:
dynamic language and you don't always know everything that needs to be
configured when a program starts.


.. _`XDG Base Directory`: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
5 changes: 5 additions & 0 deletions docs/source/whatsnew/pr/no-xdg.rst
@@ -0,0 +1,5 @@
* Previous versions of IPython on Linux would use the XDG config directory,
creating :file:`~/.config/ipython` by default. We have decided to go
back to :file:`~/.ipython` for consistency among systems. IPython will
issue a warning if it finds the XDG location, and will move it to the new
location if there isn't already a directory there.

0 comments on commit a9beb5f

Please sign in to comment.