Skip to content

Improve rc file detection based on rustup - #5026

Merged
charliermarsh merged 1 commit into
mainfrom
charlie/rustup
Jul 12, 2024
Merged

charliermarsh merged 1 commit into
mainfrom
charlie/rustup

Conversation

@charliermarsh

Copy link
Copy Markdown
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
@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