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

Suggestion for command hints #6158

Closed
ttamttam opened this issue Aug 15, 2024 · 3 comments · Fixed by #6159
Closed

Suggestion for command hints #6158

ttamttam opened this issue Aug 15, 2024 · 3 comments · Fixed by #6159

Comments

@ttamttam
Copy link
Contributor

I’d suggest to always output command hints on one single separate line.

It would make it a lot easier to copy paste if needed.

By instance

Run (& opam env --switch=default) -split '\r?\n' | ForEach-Object { Invoke-Expression $_ } to update the current shell environment

Would become

To update the current shelll environment, run
    (& opam env --switch=default) -split '\r?\n' | ForEach-Object { Invoke-Expression $_ }

Best regards

@kit-ty-kate
Copy link
Member

I've opened #6159 with a slight difference explained in the description. What do you think?

@ttamttam
Copy link
Contributor Author

Closing. See #6159

@kit-ty-kate kit-ty-kate added this to the 2.3.0~alpha milestone Aug 15, 2024
@kit-ty-kate
Copy link
Member

let's keep it open until it's actually resolved. Merging the PR will close it automatically anyway

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

Successfully merging a pull request may close this issue.

2 participants