0

I've been using Zsh for a long time and have installed a syntax highlighting extension such that, as shown in the picture below, when I enter the name of a program that doesn't exist on the console, the text will automatically turn red.

enter image description here

However, I also have a Windows PC and am currently wondering how I could install such an extension or how I could configure my PowerShell to work the same way. I know it's possible because, as you can see on the .gif image below, the color of the text automatically changed when I typed in different types of variables on my current PowerShell.

enter image description here

2
  • have you tried searching for powershell zsh yet?
    – Lee_Dailey
    Commented Apr 1, 2022 at 21:19
  • @Lee_Dailey yes, of course, but to no avail. Commented Apr 22, 2022 at 0:14

1 Answer 1

1

Try installing the pwsh-syntax-highlighting module. It is very similar to the syntax-highlighting extension on zsh with the exception that it is still in development and only validates the first word entered into the prompt.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .