xonsh/news/override_bash_path.rst
Gil Forsyth f5ae75268a
feat(bashpath): add env-var to allow overriding path to bash (#5295)
I've run into issues with bash completion failing when using `nix` to
handle environments.
The nix environment often installs its own `bash` which doesn't respect
the `BASH_COMPLETIONS` env-var.

This allows an (off-by-default) option to override what is returned by
`xonsh.platform.bash_command`.

The removal of the `lru_cache` should be negligible since
`windows_bash_command` has its own `lru_cache` and the other options are
doing an env lookup or returning a string.
2024-03-08 17:57:53 +01:00

24 lines
283 B
ReStructuredText

**Added:**
* Add ``XONSH_BASH_PATH_OVERRIDE`` option (off-by-default) to override what is
returned by `xonsh.platform.bash_command`.
**Changed:**
* <news item>
**Deprecated:**
* <news item>
**Removed:**
* <news item>
**Fixed:**
* <news item>
**Security:**
* <news item>