Long story short, I'm using helix
editor of late and I wasn't getting any syntax highlighting in my ~/.shrc
file. When I asked why I was told that I need a shebang for it to detect the file type in order for syntax highlighting to load.
Anyhow, I added #!/bin/sh
to the top of my ~/.shrc
and sure enough it works. I just wonder, is there going to be any unwanted consequences from doing this? Is there a compelling reason not to do this?