]> git.bzium.org - embe/embe-profile-files.git/blobdiff - prefix.sh
Obsługa zsh.
[embe/embe-profile-files.git] / prefix.sh
index d439cc9e58c95d43d46825f6409865ba884c4585..092a0a8098d687e6a798933af1bcc31d81d4b3f0 100644 (file)
--- 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