Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix reading of /etc/paths on OS X #4852
Do so by emulating the behavior of /usr/libexec/path_helper for login shells,
Also add a path_helper command to reproduce the behavior of
This also handles setting MANPATH if necessary.
Fixes issue #4336
Sure thing! My previous PR #4337 took the approach of parsing
If you compare this PR to #4337 , this one does seem simpler to understand. The danger of our behavior diverging from
However, if you prefer the other approach, I could always resurrect #4337 .
@akalin thanks for the explanation. I'm on board with emulating
Nothing is really intended. I reverted that because it looked like an undocumented behavior change, and zanchey observed that it broke a use case ("Run Command" in iTerm2).
Nobody has made a case for what the right behavior should be, so it's better to not break any users who might be depending on the existing behavior.