Previously we only checked if the new directory was already in the PATH and, if yes, didn't prepend it. This can cause the new directory to be in an unexpected position. Now we first remove any occurrences of the new directory (to prevent duplication) and prepend it so it's in the position we expect. |
||
---|---|---|
.. | ||
.config | ||
.local/bin | ||
.ssh | ||
.hushlogin |