aboutsummaryrefslogtreecommitdiff
path: root/shellrc
diff options
context:
space:
mode:
Diffstat (limited to 'shellrc')
-rw-r--r--shellrc2
1 files changed, 1 insertions, 1 deletions
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'