Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions doc/sphinx/source/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@

Configuration
=============
You can copy the supplied sample-config to your home directory and move it to
``$XDG_CONFIG_HOME/bpython/config`` [#f1]_. bpython tries to find
``$XDG_CONFIG_HOME/bpython/config`` and use it as its configuration, if the
file does not exist bpython will use its documented defaults.
There is a ``sample-config`` file supplied in your home directory. You can rename it
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is not correct. The sample-config file is supplied in the bpython directory and can be copied to the home directory.

to ``config`` or copy it and make a new ``config`` file since bpython tries to
find ``$XDG_CONFIG_HOME/bpython/config``(``$XDG_CONFIG_HOME`` defaults to ``~/.config`` if not set)
and use it as its configuration.

.. :: Footnotes

.. [#f1] ``$XDG_CONFIG_HOME`` defaults to ``~/.config`` if not set.
To edit the config file from ``bpython-curtsies``, press ``F3``.

.. include:: configuration-options.rst