projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d706804
)
app-shells/bash: introduce support for bashrc.d directory that is sourced in bashrc...
author
Michał Górny
<mgorny@gentoo.org>
Sun, 9 Nov 2014 20:41:31 +0000
(20:41 +0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 26 Jan 2016 07:12:10 +0000
(
02:12
-0500)
app-shells/bash/files/bashrc
patch
|
blob
|
history
diff --git
a/app-shells/bash/files/bashrc
b/app-shells/bash/files/bashrc
index a398eb1ed4a1841218296c8b7a24dba0a84280b2..300070974f5479d959ff8bd4977eb6fe16973ac5 100644
(file)
--- a/
app-shells/bash/files/bashrc
+++ b/
app-shells/bash/files/bashrc
@@
-84,5
+84,9
@@
else
fi
fi
+for sh in /etc/bash/bashrc.d/* ; do
+ [[ -r ${sh} ]] && source "${sh}"
+done
+
# Try to keep environment pollution down, EPA loves us.
-unset use_color safe_term match_lhs
+unset use_color safe_term match_lhs
sh