Package: bash
Version: 4.4-5

I'd like to see support for ~/.config/bashrc.d or ~/.bashrc.d added to
/etc/skel/.bashrc to make it easier to manage setup for things like
golang-go.

```
# Include config files
if [ -d "${XDG_CONFIG_HOME:-"${HOME}/.config"}/bashrc.d" ]; then
  while read -r file
  do
    source "${file}"
  done < <(find "${XDG_CONFIG_HOME:-"${HOME}/.config"}/bashrc.d" -type f
-executable 2>/dev/null)
elif [ -d "${HOME}/.bashrc.d" ]; then
  while read -r file
  do
    source "${file}"
  done < <(find "${HOME}/.bashrc.d" -type f -executable 2>/dev/null)
fi
```

Reply via email to