xonsh/news/rcdir-cli.rst
Gordon Ball e59ac28d7d
Support --rc DIR (#4422)
* args: accept --rc dir to load dir/*.xsh

* test_main: add a test for --rc dir

* args: drop unused --config-path, not read anywhere

* news: add entry for rcdir changes
2021-08-19 12:14:20 -04:00

27 lines
495 B
ReStructuredText

**Added:**
* <news item>
**Changed:**
* The ``--rc`` argument is extended to support directories as well as files.
Passing a directory will result in all ``*.xsh`` files in the directory being
sorted and loaded at startup (equivalent to using the environment variable
``XONSHRC_DIR``).
**Deprecated:**
* <news item>
**Removed:**
* Completely dropped the deprecated ``--config-path`` argument, which no longer
did anything.
**Fixed:**
* <news item>
**Security:**
* <news item>