Public bug reported:

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: Undecided
         Status: New

** Patch added: "patch for /etc/skle/.profile"
   
https://bugs.launchpad.net/bugs/1835077/+attachment/5274709/+files/etc--skel--.profile.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1835077

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1835077/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to