Bashrc.wiki: update config sourcing code

This commit is contained in:
David Thurstenson 2021-06-06 13:06:02 -05:00
parent d718859e8e
commit f4369c8197
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ shopt -s autocd
This is where all the other utilities, aliases, and functions get pulled in. Anything in `~/.bashrc.d/` ending in `.sh` will get pulled in. This is where all the other utilities, aliases, and functions get pulled in. Anything in `~/.bashrc.d/` ending in `.sh` will get pulled in.
{{{class="prettyprint" {{{class="prettyprint"
for f in ~/.bashrc.d/*.sh; do source "$f"; done for f in ~/.bashrc.d/*.bash; do source "$f"; done
}}} }}}
This also removes the need for the local bashrc sourcing that I [[https://git.thurstylark.com/vcsh/bashrc.git/tree/.bashrc?id=30c53ca7224b583ed5068038b697653810e3b94b#n45|had in this file previously]]. If that functionality is needed, simply make a new script in `~/.bashrc.d/` and don't track it with `vcsh`. This also removes the need for the local bashrc sourcing that I [[https://git.thurstylark.com/vcsh/bashrc.git/tree/.bashrc?id=30c53ca7224b583ed5068038b697653810e3b94b#n45|had in this file previously]]. If that functionality is needed, simply make a new script in `~/.bashrc.d/` and don't track it with `vcsh`.