Enable sourcing files from ~/.bashrc.d

Resolves: #1726397
This commit is contained in:
Siteshwar Vashisht 2020-12-04 14:45:17 +01:00
commit 99cafb7674
2 changed files with 14 additions and 1 deletions

View file

@ -16,3 +16,12 @@ export PATH
# export SYSTEMD_PAGER=
# User specific aliases and functions
if [ -d ~/.bashrc.d ]; then
for rc in ~/.bashrc.d/*; do
if [ -f "$rc" ]; then
. "$rc"
fi
done
fi
unset rc