-
Notifications
You must be signed in to change notification settings - Fork 791
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
fix: use universal scope for fish_user_paths in fish shell integration #1699
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
And of course when I have the time to go through PRs for the first time this year GitHub "experiences issues". Will merge tomorrow. Cheers! |
There seem to be some other fish issues, but we can deal with them separately 👍 |
This MR is a breaking change in cases where a user uses |
Yeah, I would like to get this fixed before performing a new release. Help welcome as my environment is currently unable to run fish without significant effort 😅 |
Co-authored-by: James Hegedus <[email protected]>
Summary
This PR addresses issue described in #1629. Currently the Fish shell setup script sets fish_user_paths as a global variable. This conflicts with the expected universal nature of fish_user_paths, leading to path assignments not persisting across sessions when using fish_add_path.
Fixes:
Other Information
This ensures that any paths added via fish_add_path are retained across all Fish shell sessions, aligning with the standard behavior of fish_add_path as outlined in its documentation.