I added:

Import-WslCommand "apt", "cat", "awk", "nano", "find", "grep", "head", "less", "ls", "man", "sed", "seq", "ssh", "sudo", "tail", "touch"

To my PowerShell 7 profile. Things are working great - I love the Interoperability.

But what I can't figure out is how to get nano (and soon Neovim when I import it) to properly syntax highlight my code. I do a lot of PowerShell coding, and there is absolutely no highlighting for that in nano.

Is there a way to enable it? Something I can do?

Should I un-import Nano, and then install it on Windows? I found this question and now I'm wondering if I should go that route.

Any help greatly appreciated.

Thanks so much.

0

There are 0 best solutions below