You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing PowerShell Core, using Ctrl+C to terminate a process causes the terminal to end with [process exited with code 3221225786] every time, thus a new terminal be launched to issue any new commands. Quite annoying. An explanation can be read here.
As the linked article explains, the fix is to make sure applications that use the shell, e.g. Windows Terminal and VS Code, point to scoop's ...\apps\pwsh\current\pwsh.exe, as by default, the pwsh.exe shim is being used, which is the source of the problem.
Could a warning or tip be printed after the installation of pwsh to make users aware that they should update their config files?
The text was updated successfully, but these errors were encountered:
redactedscribe
changed the title
pwsh: Print warning after installing PowerShell
pwsh: Ctrl+C no longer works as before in Windows Terminal / VS Code
Mar 24, 2021
Yeah this is a shim problem but there's a less painful fix by changing the shim (as described in the issue links above) if you execute the following commands
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
After installing PowerShell Core, using Ctrl+C to terminate a process causes the terminal to end with
[process exited with code 3221225786]
every time, thus a new terminal be launched to issue any new commands. Quite annoying. An explanation can be read here.As the linked article explains, the fix is to make sure applications that use the shell, e.g. Windows Terminal and VS Code, point to scoop's ...\apps\pwsh\current\pwsh.exe, as by default, the pwsh.exe shim is being used, which is the source of the problem.
Could a warning or tip be printed after the installation of pwsh to make users aware that they should update their config files?
For Windows Terminal's <profile>.ps1:
For VS Code's settings.json:
Thanks.
The text was updated successfully, but these errors were encountered: