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 recommended way of updating Fish shell $PATH #16556
Conversation
Maybe want Probably don't need the This PR does remove support for old fish prior to 2021 so need to make sure we're ok with that. |
@Bo98 thanks for your comments
Added the flag
Sounds reasonable, but I'd rather keep the pattern, just in case. But if there's a strong opinion about doing it, I'm game too.
True, I think its OK given this has been discussed before in #11349 with maintainer saying that
|
Earlier PR also seemed OK with removing it: https://github.com/Homebrew/brew/pull/13175/files |
Rebased to resolve hanging jobs with the new macOS 14 runner. |
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.
I don't use Fish but seems OK to me if people are OK with the backwards compatiblity question above.
Thanks so much for your first contribution! Without people like you submitting PRs we couldn't run this project. You rock, @PauloPhagula! If people have backwards compatibility complaints: let's just revert this on the first complaint. |
Akin to #11349 rather than setting
$PATH
directly this change proposes using thefish_add_path
builtin command which is the recommended as documented in the docsbrew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?