Skip to content

Use nano or $EDITOR (if defined) to open the config file on Linux #318

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

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

daxian-dbw
Copy link
Member

PR Summary

On Linux, we actually cannot depend on shell execute to open a file in its default editor, especially if the Linux is headless (e.g. WSL). This PR changes it to use nano or $EDITOR (if defined) to open the config file on Linux.

@daxian-dbw daxian-dbw merged commit 7f35f66 into PowerShell:main Dec 6, 2024
4 checks passed
@daxian-dbw daxian-dbw deleted the linux branch December 6, 2024 23:18
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

Successfully merging this pull request may close these issues.

1 participant