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

Prefer .ps1 than .cmd when both file exists in path #1853

Open
1 task done
balthild opened this issue Nov 5, 2024 · 0 comments · May be fixed by #1854
Open
1 task done

Prefer .ps1 than .cmd when both file exists in path #1853

balthild opened this issue Nov 5, 2024 · 0 comments · May be fixed by #1854

Comments

@balthild
Copy link

balthild commented Nov 5, 2024

What new feature should Elvish have?

Currenlty on Windows, when both .ps1 and .cmd exists for a command (e.g. scoop), elvish will prefer invoking the .cmd.

However, cmd scripts are bad on UX. Specifically, It prompts "Terminate batch job (Y/N)" when Ctrl+C pressed. Therefore, it should be avoided if alternatives exists.

image

Output of "elvish -version"

0.21.0+official

Code of Conduct

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

Successfully merging a pull request may close this issue.

1 participant