Skip to content

Conversation

ysthakur
Copy link
Member

Closes #1526. This PR documents how to set XDG_CONFIG_HOME before starting Nushell.

I don't actually know how to do this if someone has Nushell set as their login shell on MacOS, so if anyone knows how to do that, that'd be helpful.

@ysthakur ysthakur added the documentation Improvements or additions to documentation label Aug 30, 2024
@fdncred
Copy link
Contributor

fdncred commented Aug 30, 2024

I've searched many times for how to make system-wide environment variables in modern MacOS and always come up empty. The best way that I've seen is to use a terminal that supports setting environment variable definition within it.

@fdncred fdncred merged commit 5671eb8 into nushell:main Aug 30, 2024
@fdncred
Copy link
Contributor

fdncred commented Aug 30, 2024

Thanks

@ysthakur
Copy link
Member Author

Oh wait, I'm sorry, I forgot to add your workaround of using a terminal that allows setting environment variables, @fdncred. @NotTheDr01ds, could you please include that in your PR documenting the data directory? Sorry for the inconvenience.

@ysthakur ysthakur deleted the set-xdg-config branch August 31, 2024 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document where/how to set XDG_CONFIG_HOME

2 participants