sskras@vps1128235:~$ echo "${PATH//:/$'\n'}"
/home/sskras/.local/bin
/home/sskras/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin
/home/sskras/pkg/bin
/home/sskras/pkg/sbin
But if I launch new interactive session from the old one, my customizations get duplicated:
sskras@vps1128235:~$ bash -l
Executing /home/sskras/.profile
Executing /home/sskras/.bashrc
Executing /home/sskras/.bash_aliases
Executing /home/sskras/.bash_functions
sskras@vps1128235:~$ echo "${PATH//:/$'\n'}"
/home/sskras/.local/bin
/home/sskras/bin
/home/sskras/.local/bin
/home/sskras/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin
/home/sskras/pkg/bin
/home/sskras/pkg/sbin
/home/sskras/pkg/bin
/home/sskras/pkg/sbin
(Eg. the starting and the ending dirs)