Skip to content

fix(wrapperModules.nushell): set XDG_CONFIG_HOME instead of flags, add login.nu#559

Open
Noah765 wants to merge 2 commits into
BirdeeHub:mainfrom
Noah765:nushell
Open

fix(wrapperModules.nushell): set XDG_CONFIG_HOME instead of flags, add login.nu#559
Noah765 wants to merge 2 commits into
BirdeeHub:mainfrom
Noah765:nushell

Conversation

@Noah765

@Noah765 Noah765 commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

The problem with setting the --config flag is that the configuration is loaded even in non-interactive environments. See https://www.nushell.sh/book/configuration.html#scenarios.

Note that this is a breaking change since it changes $nu.default-config-dir and affects the location of the history file, which has to be set to a non-Nix store location using $env.config.history.path. If you feel like this trade-off isn't worthwhile or have any suggestions, please suggest them or close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant