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

Launchpad Bug Tracker 1835077 at bugs.launchpad.net
Tue Jul 2 19:40:01 UTC 2019


You have been subscribed to a public bug by Sebastien Bacher (seb128):

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"
        fi
    done
fi

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

** Affects: bash (Ubuntu)
     Importance: Wishlist
         Status: New


** Tags: patch
-- 
[FEATURE]  Add support for ~/.bashrc.d/*
https://bugs.launchpad.net/bugs/1835077
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list