Changing directory reorders my PATH #8168
Unanswered
CherryDT
asked this question in
Troubleshooting and bug reports
Replies: 1 comment
-
|
Apparently this was caused by the entry Still a bug though! It shouldn't have such an effect. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When starting a new shell, everything is OK. In particular,
/home/david/binis early in my path. I have a customwslpathscript in that folder and it works as default, as intended.However, once I change into a directory that has a
.tool_versionsfile, not only do the correct paths for the mise tools get set, it also somehow reorders my existing path entries so that suddenly/home/david/binis almost at the very end of my path, after/usr/bin, so that nowwhich wslpathshows the default instead of my custom one!Why is that happening and how can I stop it?
OUTPUT OF
mise doctorBEFORE DIRECTORY CHANGE:OUTPUT OF
mise doctorAFTER DIRECTORY CHANGE:Beta Was this translation helpful? Give feedback.
All reactions