Consistently use -r instead of -f for conditional shell sourcing

This commit is contained in:
Lucas 2023-06-20 00:47:14 +00:00
parent 432832cd5a
commit 6343210d90
4 changed files with 7 additions and 7 deletions

View file

@ -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