X-Git-Url: https://git.bzium.org/embe/embe-profile-files.git/blobdiff_plain/1efd4ab7388bc6a35ace198f7bf8511b1533d0e6..8b010a84585c4971d420cbed7b794346c6de1244:/prefix.sh diff --git a/prefix.sh b/prefix.sh index d439cc9..092a0a8 100644 --- a/prefix.sh +++ b/prefix.sh @@ -1,2 +1,3 @@ -shopt -q login_shell || return +[[ -z "$BASH_VERSION" ]] || shopt -q login_shell || return +[[ -z "$ZSH_VERSION" ]] || [[ -o login ]] || return [[ "$-" == *i* ]] || return