Open sskras opened 9 months ago
That would probably require having a PATH-manager which does dedup instead of a manual concatenation.
To be readily available on a bootstrap, the manager should be a shell script. Preferably Bourne-like/POSIX shell script (for staying cross-platform).
If I log in via SSH, the
PATH
gets some defaults + my additions from.profile
and.bashrc
:But if I launch new interactive session from the old one, my customizations get duplicated:
(Eg. the starting and the ending dirs)
If would be nice to keep
PATH
customizations but avoid repeating the added dirs on every new interactive session.