I've set $PATH to be:-
echo $PATH /Volumes/3\ TerraBerry/MyShellScripts/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
and the dir /Volumes/3\ TerraBerry/MyShellScripts/ contains the bash script file - myscript.sh.
But the only way I can exec this script is to
cd /Volumes/3\ TerraBerry/MyShellScripts
and then type
I've managed to do this before, so I can just type
from any PWD. But not now. Anyone see what I'm doing wrong? In Terminal, if I type
open /Volumes/3\ TerraBerry/MyShellScripts/
it does open that folder in Finder.
bash-3.2 OSX 10.12.6