cargo-quickinstall icon indicating copy to clipboard operation
cargo-quickinstall copied to clipboard

Always says it's installing to `~/.cargo/bin` even when it's not

Open kkysen opened this issue 3 years ago • 1 comments

If $CARGO_HOME is not ~/.cargo, cargo quickinstall still says it's installing to ~/.cargo/bin, which is quite confusing. If it could be updated to correctly show where it was installed, that would be great.

For example,

> mkdir bin
> CARGO_HOME=. cargo quickinstall ripgrep
Installed ripgrep 13.0.0 to ~/.cargo/bin:
-rwxr-xr-x runner/docker 28338504 2021-06-12 09:38 rg
> ll bin
.rwxr-xr-x  28M kkysen 12 Jun  2021 rg*

kkysen avatar Jun 02 '22 22:06 kkysen

Week spotted. Thanks for the bug report.

I'm at festival until Monday, so I might not get around to fixing this until next weekend. If you can see an easy way to fix it, I'm happy to merge PRs from my phone.

alsuren avatar Jun 02 '22 23:06 alsuren