aboutsummaryrefslogtreecommitdiff
path: root/shellrc
diff options
context:
space:
mode:
Diffstat (limited to 'shellrc')
-rw-r--r--shellrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/shellrc b/shellrc
index b0b0f7d..d0df2ad 100644
--- a/shellrc
+++ b/shellrc
@@ -4,6 +4,9 @@
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
+
alias ls='ls --color=auto'
alias ll='ls -l'
eval $(dircolors -b)