From 002a7542ceaa825fe14f6701f02b69ce7f9e8ef9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Mon, 19 Sep 2016 07:03:07 +0200
Subject: Fix bash rc and remove quick mail sync

---
 shellrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'shellrc')

diff --git a/shellrc b/shellrc
index d0df2ad..b1a4796 100644
--- a/shellrc
+++ b/shellrc
@@ -5,7 +5,7 @@ export PATH=~/.local/bin:$PATH:$(ruby -e "print Gem.user_dir")/bin
 export EDITOR=vim
 
 # Continue only if this is interactive shell
-[[ -o interactive ]] || return
+[[ $- != *i* ]] && return
 
 alias ls='ls --color=auto'
 alias ll='ls -l'
-- 
cgit v1.2.3