bash: changed some tests from existing file to readable file
This commit is contained in:
parent
457f265f36
commit
0c9b44e53f
2 changed files with 2 additions and 2 deletions
|
@ -19,6 +19,6 @@ set +a
|
|||
# where the .bashrc has to be sourced to provide a similar environment to a
|
||||
# terminal emulator. Found here:
|
||||
# https://eklitzke.org/effectively-using-bash-profile
|
||||
if [[ -t 0 && -f ~/.bashrc ]]; then
|
||||
if [[ -t 0 && -r ~/.bashrc ]]; then
|
||||
. ~/.bashrc
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue