By default, sh also runs ~/.shrc after running ~/.profile. This became particularly noteworthy to me starting with FreeBSD version 13, because, unlike in previous versions, the default version of ~/.shrc now resets the PS1 prompt. Therefore, if one wants to modify the PS1 prompt in sh, one must...