Consistently use -r instead of -f for conditional shell sourcing
This commit is contained in:
parent
432832cd5a
commit
6343210d90
4 changed files with 7 additions and 7 deletions
|
@ -71,7 +71,7 @@ if command -v calendar >/dev/null && [ -f ~/.calendar/calendar ]; then
|
|||
calendar
|
||||
fi
|
||||
|
||||
if [ -s ~/.shrc.local ]; then
|
||||
if [ -r ~/.shrc.local ]; then
|
||||
. ~/.shrc.local
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue