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
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1835077

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

Status in bash package in Ubuntu:
  New

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

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

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to