-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add alternate path for tools that conflict with /bin tools + mechanism to add them to your PATH #766
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.
LGTM
won't this lead to a violation of the principle of least astonishment with accompanying confusion? |
I've added a caveat for tools that have an altbin. We can invert the defaults if preferred, such that conflicting tools are added to your PATH unless you explicitly say you dont want that. |
If I install a tool then I expect to use it and have it available. This should be up to the individual site/installer to decide how to handle things and it needs to be obvious. :) |
In the case of gawk, it will still be available as gawk, but not as awk. Brew has a similar caveat here: https://formulae.brew.sh/formula/gawk
|
8339675
to
09441c9
Compare
PRs for the conflicting tools is ready: There may be cases for more granularity in |
We're making modifications to move tools conflicting with /bin tools like Gawk's awk to an altbin/ directory.
To add altbin to their PATH, users can set ZOPEN_TOOLSET_OVERRIDE=1 and then source zopen-config.
You can also do this: