config-bash/libs/basedir.bash

6 lines
71 B
Bash
Raw Normal View History

2013-04-24 16:58:31 +02:00
#!/bin/bash
function basedir() {
2024-06-28 12:28:56 +02:00
(cd "$(dirname \"$-2\")" && pwd)
2013-04-24 16:58:31 +02:00
}