KEMBAR78
Use `nano` or `$EDITOR` (if defined) to open the config file on Linux by daxian-dbw · Pull Request #318 · PowerShell/AIShell · GitHub
Skip to content

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