Bashrc.wiki: update config sourcing code
This commit is contained in:
parent
d718859e8e
commit
f4369c8197
|
@ -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`.
|
||||||
|
|
Loading…
Reference in New Issue