You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2020. It is now read-only.
The bash magic used by the wit bash script to locate itself doesn't work if symbolic links are involved. This comes up if using something like GNU stow for local "package management".
The following works great on Linux, but will not work on OSX as there's no readlink -f for OSX:
The bash magic used by the
witbash script to locate itself doesn't work if symbolic links are involved. This comes up if using something like GNUstowfor local "package management".The following works great on Linux, but will not work on OSX as there's no
readlink -ffor OSX:script_dir="$(dirname "$(readlink -f "$0")")"See: https://unix.stackexchange.com/a/17500