asdf-rust icon indicating copy to clipboard operation
asdf-rust copied to clipboard

Reshim is needed after installing a binary

Open fvictorio opened this issue 6 years ago • 4 comments

After doing something like cargo install bat, I expect bat to be available in my $PATH, but I have to run asdf reshim rust first. Is this something that can be fixed/improved?

fvictorio avatar Oct 26 '18 19:10 fvictorio

I honestly don't know enough about asdf to know if it can. Definitely open to help if anyone knows. I did find a couple issues that seem similar and it looks like reshim might be the "fix".

  • asdf-vm/asdf#107
  • asdf-vm/asdf#162

nickveys avatar Oct 29 '18 17:10 nickveys

Maybe someone in the core contributors can help.

@Stratus3D, sorry for the notification, but do you know if this is something that can be fixed from the plugin side?

fvictorio avatar Oct 29 '18 18:10 fvictorio

Some plugins strategically call the reshim command at certain times, like https://github.com/asdf-vm/asdf-nodejs/blob/master/bin/postinstall. But for most plugins it's best just to run reshim when you need to.

Stratus3D avatar Nov 12 '18 21:11 Stratus3D