[FEATURE] Add support for ~/.bashrc.d/*

Bug #1835077 reported by Piotr Henryk Dabrowski
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bash (Ubuntu)

Bug Description

In ~/.profile add support for ~/.bashrc.d/* alongside ~/.bashrc

# include all files from .bashrc.d/
if [ -d "$HOME/.bashrc.d" ]; then
    for rc in "$HOME/.bashrc.d/"*; do
        if [ -f "$rc" ]; then
            . "$rc"

Patch for /etc/skel/.profile in the attachment.

Tags: patch
Revision history for this message
Piotr Henryk Dabrowski (phd) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch for /etc/skle/.profile" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, is that .bashrc.d directory something standard/documented upstream? could you give some reference/context to the change?

Changed in bash (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Thomas Ward (teward) wrote :

Hello, and thank you for opening this report.

Upon further review, this bug report as-is is not yet ready to be considered for Sponsoring in Ubuntu, as it does not yet provide justification for the change nor does it provide requisite information to determine whether this change is even sensible at this time in Ubuntu.

For these reasons, I am unsubscribing ~ubuntu-sponsors from this bug.

In the future, when this bug is provided additional justification as to why it's ready for sponsoring, including references and documentation that this is a standard item upstream, and a full debdiff (at least) ready for sponsoring and inclusion, you may resubscribe ~ubuntu-sponsors and we will go through the process of considering this then.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bash (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.