Re: git: fd1066bed67f - main - .profile: Don't bother checking for /home symlink
Date: Tue, 13 Feb 2024 03:23:13 UTC
On Mon, Feb 12, 2024 at 02:25:48PM +0000, Ed Maste wrote: > commit fd1066bed67f642ed01f5dd62b7b6cfb0a45fd4c > > .profile: Don't bother checking for /home symlink > > Since FreeBSD 14.0, user directories are created directly under /home. > This check should no longer be needed. > > @@ -19,9 +19,6 @@ > # set ENV to a file invoked each time sh is started for interactive use. > ENV=$HOME/.shrc; export ENV > > -# Let sh(1) know it's at home, despite /home being a symlink. > -if [ "$PWD" != "$HOME" ] && [ "$PWD" -ef "$HOME" ] ; then cd ; fi > - The installer creates separate /home, individual hackers might want to partition their drives the old way as / (root) + /usr (everything else), so this check is probably still useful. ./danfe