From 1997e10ff4845cff2490d879f1d2b0420bfae961 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 4 May 2012 21:41:21 +0200 Subject: bashrc/main: fix check if shell is interactive --- bashrc/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bashrc') diff --git a/bashrc/main.sh b/bashrc/main.sh index 8ba2e72..3da1b0b 100644 --- a/bashrc/main.sh +++ b/bashrc/main.sh @@ -120,7 +120,7 @@ _load() { } # update first -[[ $- != *i* ]] && _self_update +[[ $- == *i* ]] && _self_update _load common '*' -- cgit v1.2.3