summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-04-13 12:03:21 -0400
committerJesse Luehrs <doy@tozt.net>2024-04-13 12:03:21 -0400
commit9e850bd3591dc9eeaccda4e08f52809b09bfb134 (patch)
tree94cdb171b240132e952a8804cbcb08656db348bf
parenta06679b1891fe282e8b7cea8153bc7a089d96138 (diff)
downloadconf-main.tar.gz
conf-main.zip
still need the interactivity check in bashrcHEADmain
-rw-r--r--bash/.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 9b7177e..3422362 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -1,3 +1,6 @@
+if [[ $- != *i* ]]; then
+ return
+fi
for file in ~/.config/sh/rc.d/*; do
# shellcheck disable=SC1090
source "$file"