X-Git-Url: http://git.tuebingen.mpg.de/?p=gsu.git;a=blobdiff_plain;f=config;h=7667cf5911d21b83469da272c1c672bcd6ab5fdf;hp=09330f355cc5b16d8cb0288760f3c620f92c65ef;hb=8d89aa241a5199b0a25edcf0e56da08c64aa4014;hpb=f31cc416b1acdbb8f5703b208d943ce500a5b840 diff --git a/config b/config index 09330f3..7667cf5 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