I have a folder for my .bat and .sh files.
This folder is part of my PATH. I can run the .bat files without any problems using the command prompt. But I can't run the .sh files with git bash.
I have made the scripts executable, and if I'm in the folder where the scripts are then I can run them with ./myScript.sh for example, without any trouble.
If I echo the PATH variable I git bash shows that the scripts folder is included.
If I run which myScript.sh I get /c/opt/scripts/myScript.sh
So what am I missing?
Also, I'd really like to run it with just myScript instead of ./myScript.sh is that possible?