I can't test under MacOS or WSL1. In the future, I'll see about standardizing on POSIX but there is a problem with my approach to adding REPL access to PATH. $(dirname $0) returns the path of the shell (sh,bash,etc.) and not the script if you dot-source the script from the shell. I'll try to find a solution to this, later.
I can't test under MacOS or WSL1. In the future, I'll see about standardizing on POSIX but there is a problem with my approach to adding REPL access to PATH.
$(dirname $0)
returns the path of the shell (sh,bash,etc.) and not the script if you dot-source the script from the shell. I'll try to find a solution to this, later.