summaryrefslogtreecommitdiff
path: root/bash/.bashrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-08-22 16:32:36 +0200
committerUrbain Vaes <urbain@vaes.uk>2018-08-22 16:32:36 +0200
commit34abdcc4d1368d94123391f49ebe135d7ad1c238 (patch)
tree64579274f2fe0046039c1fab9139068cfadf059a /bash/.bashrc
parent25aff99826ee73c5d6823d3767993a6bd09960fd (diff)
Set zathura as default for images/x-eps
Diffstat (limited to 'bash/.bashrc')
-rw-r--r--bash/.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 3d0e6bd..a8153ac 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -1,3 +1,6 @@
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
# Prompt
if [[ -n $SSH_CLIENT ]]; then
PS1=$'\e[0;31m[\h]\e[0m \w $ '