Test for a local .bashrc before trying to source it
This commit is contained in:
parent
7368569d34
commit
882b269796
6
.bashrc
6
.bashrc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue