Skip to content
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

Support printenv #137

Open
certik opened this issue Sep 17, 2024 · 1 comment
Open

Support printenv #137

certik opened this issue Sep 17, 2024 · 1 comment

Comments

@certik
Copy link
Collaborator

certik commented Sep 17, 2024

So that I can see which environment variables are defined. This is useful for figuring out what variables to put into my .shellrc to make MSVC work.

printenv is already in coreutils, so we just need to expose it.

@certik
Copy link
Collaborator Author

certik commented Sep 17, 2024

As a workaround this works:

$ cmd /c set

This prints all environment variables that cmd can see and it seems identical to coreutils printenv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant