summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-05-04 21:41:21 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-05-04 21:41:21 +0200
commit1997e10ff4845cff2490d879f1d2b0420bfae961 (patch)
tree38c1bb1b99844414a65345af4756d116e375f5ca
parent5281befac3e3d484e024a94436155fe1a718ea2c (diff)
downloaddotfiles-1997e10ff4845cff2490d879f1d2b0420bfae961.tar.gz
dotfiles-1997e10ff4845cff2490d879f1d2b0420bfae961.tar.xz
dotfiles-1997e10ff4845cff2490d879f1d2b0420bfae961.zip
bashrc/main: fix check if shell is interactive
-rw-r--r--bashrc/main.sh2
1 files changed, 1 insertions, 1 deletions
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 '*'