shell script running pathBy JIMzNovember 13, 2024SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) source post from stackoverflowShell ScriptZsh