From 8b010a84585c4971d420cbed7b794346c6de1244 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Bartoszkiewicz?= Date: Tue, 22 Jan 2013 18:39:59 +0100 Subject: [PATCH] =?utf8?q?Obs=C5=82uga=20zsh.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- prefix.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2