FabioAntunes / fish-nvm

nvm wrapper for fish-shell
MIT License
511 stars 20 forks source link

Use `type` instead of `which` #64

Closed hackedd closed 1 year ago

hackedd commented 1 year ago

I use a which function to give more verbose output for commands that are symlinks, which breaks run_command.

Another fix would be to use command which, but using type also seems more consistent with the eval commands directly afterwards.