config-bash/libs/basedir.bash
2024-06-28 10:28:56 +00:00

6 lines
71 B
Bash
Executable File

#!/bin/bash
function basedir() {
(cd "$(dirname \"$-2\")" && pwd)
}