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?
to your account
bower installed to global, fish known bower. When I restart fish that didn't know bower.
The text was updated successfully, but these errors were encountered:
@IvanWei Hi! I can't help you with this plugin so you'll need to talk to @FabioAntunes :)
In the meantime, check out fnm or verman which I maintain and are known to work with global modules.
Sorry, something went wrong.
@IvanWei nvm isn't being sourced on shell init, so unless you run nvm or npm first on your terminal, bower won't be recognized.
You could create a bower.fish in your functions folder inside ~/.config/fish and then paste this:
function bower -d "Package manager"
__nvm_run "bower" $argv
But as @BRJ said, try fnm or verman they are pure fish version managers
@FabioAntunes Thank you! 😄
I know this idea, but it isn't convenient.
if many packages installed to global that need create more fish files.
@IvanWei If you really want to be able to run global packages you can source nvm on shell init, but be prepared to see a delay of some seconds. You can read more about that in this issue #2
Successfully merging a pull request may close this issue.