Using installed shell tools from KM

If you’re using the bash shell, you can force it to run from a login shell by using a shell script like:

bash -lc '/Users/myname/Desktop/myscript.sh'

That will keep your $PATH variables up to date so your installed stuff ought to work.

3 Likes