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
display_output hook ignored default LS_COLORS #7169
Comments
This is a little hard to follow but it's what I'm seeing. I think I'm narrowing down on some influencing factors
So, stated another way, if I've told nushell to specifically hide LS_COLORS in my config.nu, meaning no LS_COLORS env var should ever be set anywhere, why does it inherit whatever my host shell had in certain circumstances? |
I'm not sure if you can hide what the host gives us, but we'd have to confirm with Jakub. I was trying to remember - I think we always fall back to the environment we get from the host. |
So, you're saying, that even though, when I'm in nushell and do |
I still think there's a bug here. If I do a |
Describe the bug
When using this hook, it appears that the default LS_COLORS is being ignored and some other system level LS_COLORS are being used.
How to reproduce
Expected behavior
This is what it looks like
This is what it should look like
Screenshots
No response
Configuration
Additional context
This could be a problem with
table -e
as well. I'm not sure exactly.The text was updated successfully, but these errors were encountered: