diff --git a/.envrc b/.envrc index f45b145..4857c1e 100644 --- a/.envrc +++ b/.envrc @@ -1,3 +1,3 @@ use nix -printf '\nPlease set and export $BASHLY_SOURCE_DIR\n\n' +export BASHLY_SOURCE_DIR=$(cat .target) diff --git a/autoinstall/before.sh b/autoinstall/before.sh index 7a88b5f..f88899b 100644 --- a/autoinstall/before.sh +++ b/autoinstall/before.sh @@ -5,7 +5,7 @@ action=${action:?} # if action is run or completions, do nothing if [ "$action" = "run" ] || [ "$action" = "completions" ] then - exit 0 + return fi clean=${args[--clean]:-}