-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ensurepath creates double entries in the path #351
Comments
ensurepath
creates double entries in the path
Same on Windows 10 |
Saw the same with several dozen entries in my system The cause is actually a bug in the EDIT: Above only applies to Windows, but a similar bug may be present in the equivalent Unix handling within the same library. |
@ciarancourtney @ralish Windows is fixed in The OP's issue is different ofek/userpath#3 (comment) |
Confirming this is fixed (on Windows) with |
Not fixed for macOS |
@floatingpurr Do you still encounter this issue? |
Hi @meowmeowmeowcat. To be honest, off the top of my head, I can't remember. Next time I'll check it out. However, this is an old issue. I guess that if anybody has experienced something similar anymore, everything should be fine now. I'm gonna close it for now. Thanx for asking. |
Ok, just tried. When I run
is appended to both Why do we need the export command repeated in |
Hi guys, I run into a potential problem w/ the command
More context:
Describe the bug
When I run
ensurepath
the path$HOME/.local/bin
is inserted twice both in.zshrc
and in.zprofile
Then, my path is polluted with doubled entries
How to reproduce
Expected behavior
Just one entry of
/Users/myuser/.local/bin
should be added to the path.The text was updated successfully, but these errors were encountered: