Get absolute link on nix/linux
$ cat script.sh
#!/usr/bin/env bash
THIS_FILE=$(readline -e $)
THIS_DIR=$(dirname $THIS_FILE)
echo $THIS_DIR
$ cat script.sh
#!/usr/bin/env bash
THIS_FILE=$(readline -e $)
THIS_DIR=$(dirname $THIS_FILE)
echo $THIS_DIR