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: activate
breaks man
for non-OTP man pages
#508
Conversation
man by default from what i can tell checks /etc/manpath.config, which then breaks normal usage of man if MANPATH is set without this
👋 thanks for the pull request. Regarding "[?] I have performed a self-review of my changes", I'm not sure the ? is because you don't understand the choice item, but I'll explain:
|
activate
breaks man
for non-OTP man pages
Tests failing... |
Are these changes consistent in the fish and C shell activation scripts? |
|
i think its because the CI checks the manpath after activation, and now there is the docker state included... also sorry i neglected the csh/fish activation |
No prob. We'd eventually either do it, or, at the very least, identify it as an issue 😄, but since you updated it, it's most welcome. As per CI you might need to run |
Would it make this all simpler if we:
? I'd need to test this better, maybe I'm missing a detail, but the current implementation seems much more complex than required 😕 @jadeallenx, thoughts? |
Yeah I agree the current situation isn’t great and could be simplified |
idk how i'd alter the tests, but the new failures seem to be that the expected_env is presumed to be the same on different calls/users, so it'd have to use something like |
You could potentially also validate that it's, as expected, the concatenation you build. |
You mean you don't know where to start, or what to do? You can look at the |
Closing as stale (also, all CI is failing). Feel free to re-open and apply the required changes. |
Description
man by default from what i can tell checks /etc/manpath.config, which then breaks normal usage of man if MANPATH is set without this
fixes #498
might equally be
manpath -g
, howevermanpath
, in my case, preserves user paths such as$HOME/.local/share/man