diff --git a/bash.spec b/bash.spec index 0fb39cc..4527da7 100644 --- a/bash.spec +++ b/bash.spec @@ -6,7 +6,7 @@ Version: %{baseversion}%{patchleveltag} Name: bash Summary: The GNU Bourne Again shell -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Url: https://www.gnu.org/software/bash Source0: https://ftp.gnu.org/gnu/bash/bash-%{baseversion}.tar.gz @@ -308,6 +308,10 @@ end %{_libdir}/pkgconfig/%{name}.pc %changelog +* Fri Dec 4 14:44:06 CET 2020 Siteshwar Vashisht - 5.0.17-3 +- Enable sourcing files from ~/.bashrc.d + Resolves: #1726397 + * Mon Jul 27 2020 Fedora Release Engineering - 5.0.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/dot-bashrc b/dot-bashrc index d81e0b5..ad4581e 100644 --- a/dot-bashrc +++ b/dot-bashrc @@ -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