aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc
index c270fdfd..588d0258 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -1,5 +1,5 @@
# Don't do anything if not running interactively
-if [[ -z $PS1 ]]; then
+if [[ $- != *i* ]]; then
return
fi