Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve rc file detection based on rustup #5026

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Conversation

charliermarsh
Copy link
Member

Summary

Brings in some learnings from rustup: https://github.com/rust-lang/rustup/blob/fede22fea7b160868cece632bd213e6d72f8912f/src/cli/self_update/shell.rs#L197.

For example: we only need to write to .zshenv (but we have to respect ZDOTDIR). Additionally, for Fish, we need to respect XDG_CONFIG_HOME

@charliermarsh charliermarsh force-pushed the charlie/rustup branch 2 times, most recently from 2a20801 to 25a8944 Compare July 12, 2024 22:27
@charliermarsh charliermarsh added bug Something isn't working preview Experimental behavior labels Jul 12, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) July 12, 2024 22:27
@charliermarsh charliermarsh merged commit df2ee8a into main Jul 12, 2024
48 of 49 checks passed
@charliermarsh charliermarsh deleted the charlie/rustup branch July 12, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant