Thank you for all the help. Yes I have this file on the new install. Probably missed it on the old install. Just too tired trying to find the problem. So now I have a pretty good idea how the path is created. The ‘profile’ in etc directory takes care of the default entries. The profile.d takes care of the rest via the scripts. I disabled the script that creates the path for the bin directory in home. That deleted both entries in the path. So it appears that the script is being executed twice creating the double entries. The double entry being created by me adding the bin directory as per the path. Not sure why it would do it in the first place. Deleted the bin directory does not reverse the double entry. I won’t be doing that again. So, that’s why I decided to just format and install. I’ve got 7 distros on my test machine. But you don’t learn much doing that at the beginning. I don’t have enough knowledge as to find how its being executed twice. On my new install I disabled the home local entry by commenting out the code that creates the home local path first boot.
I checked Ubuntu and they have a script that only creates the path entry if the bin directory exists. The entire default path is in etc/environment.
Also interesting that the root account is using bash not zsh.