X-Git-Url: http://git.tuebingen.mpg.de/?p=gsu.git;a=blobdiff_plain;f=config;h=0663e340fdcf26e5824d69ae8821081abcfa9206;hp=59086ed4e526817449025041486cd5d6d1e2a13b;hb=021cb6acbe9be83506f27e9eff3cd434e6daf149;hpb=ed4541e12d830109204e66ac8c76750d3693eeff diff --git a/config b/config index 59086ed..0663e34 100644 --- a/config +++ b/config @@ -79,7 +79,7 @@ gsu_check_options_or_die() } if [[ "$(type -t _gsu_setup)" != "function" ]]; then - gsu_dir=${gsu_dir:=${HOME:-}/.gsu} + gsu_dir=${gsu_dir:-${BASH_SOURCE[0]%/*}} . $gsu_dir/common || exit 1 _gsu_setup fi