summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-06-05 16:27:17 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-06-05 16:27:17 (EDT)
commitb1e9ddf8e7ca1e72b8a55d4f407f88426976f9cd (patch)
treefac95c782ea8631d5cdad63d0509fa1c9af454a8
parent7d94dbbcd38edb235e94035987184fb14985fc94 (diff)
downloadbash-b1e9ddf8e7ca1e72b8a55d4f407f88426976f9cd.zip
bash-b1e9ddf8e7ca1e72b8a55d4f407f88426976f9cd.tar.gz
bash-b1e9ddf8e7ca1e72b8a55d4f407f88426976f9cd.tar.bz2
.bashrc: Execute .bashrc.d/* in the current environment
-rw-r--r--.bashrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 444e16a..e23c21d 100644
--- a/.bashrc
+++ b/.bashrc
@@ -38,4 +38,6 @@ if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
-run-parts ~/.bashrc.d
+for f in $(run-parts --list ~/.bashrc.d); do
+ . "${f}"
+done