]> git.bzium.org - embe/embe-profile-files.git/blobdiff - prefix.sh
Odwrócenie logiki
[embe/embe-profile-files.git] / prefix.sh
index d439cc9e58c95d43d46825f6409865ba884c4585..e5972b200b8d33a5bfc56fd5729bf9c39c771ec8 100644 (file)
--- a/prefix.sh
+++ b/prefix.sh
@@ -1,2 +1,3 @@
-shopt -q login_shell || return
+[[ -z "${BASH_VERSION+set}" ]] || shopt -q login_shell || return
+[[ -z "${ZSH_VERSION+set}" ]] || [[ -o login ]] || return
 [[ "$-" == *i* ]] || return