aboutsummaryrefslogtreecommitdiff
path: root/shellrc
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2016-09-12 08:44:12 +0200
committerKarel Kočí <karel.koci@nic.cz>2016-09-12 08:44:12 +0200
commit8bd48bae75cf738ae9127b770515836a3a60d7e2 (patch)
treea1ed1fc52911a17c68d08d148c00ba2836136750 /shellrc
parente580bd60607f2a4420eacd681ec029c8b3838953 (diff)
downloadmyconfigs-8bd48bae75cf738ae9127b770515836a3a60d7e2.tar.gz
myconfigs-8bd48bae75cf738ae9127b770515836a3a60d7e2.tar.bz2
myconfigs-8bd48bae75cf738ae9127b770515836a3a60d7e2.zip
Add long running bell to zsh
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)