Skip to content
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

Remove PATH entry after uninstalling the last version of a candidate #662

Open
1 of 2 tasks
reitzig opened this issue Jul 15, 2018 · 3 comments
Open
1 of 2 tasks

Comments

@reitzig
Copy link
Contributor

reitzig commented Jul 15, 2018

Please tick one:

Please explain the Issue / Feature Request here:

sdk doesn't remove the PATH entry when uninstalling the last version of a candidate:

$ sdk install crash 1.3.0; sdk uninstall crash 1.3.0
<snip>
$ sdk list crash

================================================================================
Available Crash Versions
================================================================================
     1.3.0                                                                         
     1.2.11                               

<snip>
$ echo $PATH | sed -e 's/:/\n/g' | grep crash
/home/raphael/.sdkman/candidates/crash/current/bin
@marc0der
Copy link
Member

@Elyasin
Copy link

Elyasin commented Mar 8, 2024

This ticket is open quite some time now. In the meantime, how do you guys handle it?
Would you know a way to remove the path entry manually somehow ?

@reitzig
Copy link
Contributor Author

reitzig commented Mar 12, 2024

I don't. I live with PATH being "wrong" in existing terminals; in new terminals, it will be correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants