alacritty: `shell.program` not works

OS: Windows 10 Version: 0.7.1

I installed powershell 7, but when the value of shell.program is powershell, it starts the powershell 5 that comes with the system which is not configured. Even I set the shell path, it still not works.

shell:
  program: C:\\Program Files\\PowerShell\\7\\pwsh.exe
  args: --nologo

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 28 (14 by maintainers)

Most upvoted comments

Finally, it works, just need to replace args: ["--no-logo"] with args: ["--nologo"]. It’s seems like my first attempt is very close to this solution, just missing the [] in args.

What an adventure.

This works:

shell:
  program: C:\\Program Files\\PowerShell\\7\\pwsh.exe

That’s an unfortunate error message, but I think what @chrisduerr meant was that you should not change the program from what you had in your config above.

Try this:

shell:
  program: C:\\Program Files\\PowerShell\\7\\pwsh.exe
  args: ["--no-logo"]

crash

@nixpulvis Remind me that next time someone has trouble with their shell and isn’t getting an error message, they should probably start it with --hold. That will print stderr when the shell itself throws a fit.