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

Launchpad Bug Tracker 1835077 at bugs.launchpad.net
Mon Jan 30 10:56:06 UTC 2023


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

** Changed in: bash (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
  Confirmed

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




More information about the foundations-bugs mailing list