openSUSE Tumbleweed has
test -s ~/.alias && . ~/.alias || true as the contents of its ~/.bashrc.
The way I understand the part to the left of || true is that
- there's a check to see if
~/.aliasexists and has a size greater than zero. - and, if the conditions are met, the file is sourced.
So why is || true necessary?
GNU bash, version 5.0.16(1)-release (x86_64-suse-linux-gnu)