Test for a local .bashrc before trying to source it

This commit is contained in:
David Thurstenson 2019-05-12 23:58:10 -05:00
parent 7368569d34
commit 882b269796
1 changed files with 3 additions and 3 deletions

View File

@ -215,7 +215,7 @@ vactivate() {
source $path/bin/activate; bash; deactivate
}
# Append a local bashrc. Meant to give the ability to tune a bashrc for a
# specific environment. These won't be tracked in vcsh.
# Append a local bashrc if it exists. This gives the ability to insert untracked
# modifications to this .bashrc
source ~/.local.bashrc
[[ -s ~/.local.bashrc ]] && source ~/.local.bashrc