-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
.OS environmental variable no longer provides linux distributions #1639
Comments
I understand I am not the only use case - perhaps there is need for an .OS variable and a .Distro variable? Or some other kind of solution that allows both to be possible? |
@RustyBrakes I'll fix that. Should be the way you describe it. |
Confirming that it's all fixed on my end! |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. |
Code of Conduct
What happened?
Between 6.51.0 and 7.5.1 (sorry I can't be more specific) I have found that .OS variable gives "linux" as result instead of debian/ubuntu/etc .
This has happened both on WSL and native Linux install (and both previously provided distro name instead)
Theme
Chameleon: https://github.com/RustyBrakes/omp-theme
I have tried putting the
"{{ if eq .OS \"linux\" }}p:linux3{{ end }}",
at the end of the logic chain and the same result happens.What OS are you seeing the problem on?
Linux
Which shell are you using?
bash
Log output
The text was updated successfully, but these errors were encountered: