When I try to run a script made with Visual Studio Code on Windows in my Ubuntu WSL installation, I get the error:
line 2: $'\r': command not found
I ran into the question below:
How do I fix "$'\r': command not found" errors running Bash scripts in WSL?.
That all makes sense, however is there a way/setting on Visual Studio Code on windows to not have to use the dos2unix utility every time?
end_of_line
property – steeldriver May 15 '18 at 00:31