I'm using commander to do a lot of job on Windows. My only problem is that I'm not able to run .sh
files.
The image above says that there is no program associated to run .sh
extension.
My workaround is to type bash file.sh
But I rather to do not type bash
everytume.
#!/bin/bash
as first line in your script?.sh
files withbash
won't work. I am also on windows and my git-bash is associated to.sh
files. When I run.\file.sh
it opens git-bash in separate window, executes the script and immediately closes the window. I believe that the best you can do is what this guy proposed stackoverflow.com/a/38317535/7411306.