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

[Feature Request]: Support for displaying current Opam switch #2538

Open
mizlan opened this issue Jan 16, 2024 · 2 comments
Open

[Feature Request]: Support for displaying current Opam switch #2538

mizlan opened this issue Jan 16, 2024 · 2 comments

Comments

@mizlan
Copy link

mizlan commented Jan 16, 2024

Hi!

It doesn't seem like there's a way for me to enable displaying the current Opam switch at the moment. I am requesting for that feature to be added. I could take a look into what that would require.

@romkatv
Copy link
Owner

romkatv commented Jan 16, 2024

How can one obtain the current Opam switch? Is there a command that prints it?

@mizlan
Copy link
Author

mizlan commented Jan 16, 2024

Sure! opam switch show prints the name of the current switch and a trailing newline.

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

2 participants