Nodenv seems to work fine out of the box with the following fish config:
set PATH /opt/boxen/nodenv/bin $PATH
set PATH /opt/boxen/nodenv/shims $PATH
set -x NODENV_ROOT /opt/boxen/nodenv/
nodenv rehash >/dev/null ^&1
With appropriate changes to the paths.
// Rickard
https://github.com/ekalinin/nodeenv
On Thu, Dec 5, 2013 at 12:12 AM, Matteo Cavalleri <shivabra...@gmail.com>wrote:
> If you ever tried the fish shell and you are a node.js developer, you'll
> have noticed that nvmdoesn't work. I did.
>
> After a couple of quick searches on google to find a solution, I wrote a
> small wrapper for nave (https://github.com/isaacs/nave), but it felt like
> a small ugly hack. So i decided to write a *big* ugly hack, and nvf was
> born.
>
> It's nothing fancy, it's not meant to be a full-fledged project. It just
> "works for me". It doesn't even have an installer, and it probably will
> never have one.
>
> Most of the code is basically a port to the fish scripting language of
> nave, plus a couple of small bits from nvm. Plus some new bugs of my own.
> However I've decided to put it on bitbucket just in case it might help
> someone else, so feel free to download it.
>
> https://bitbucket.org/cvlmtg/nvf/
>
> comments, suggestions and/or corrections are welcome. English is not my
> primary language, so if you spot some grammar mistakes feel free to correct
> those one too.
>
> plus, i have one questions for anyone who has some knowledge on licensing
> matters: i don’t really have any plans for the future of this script (maybe
> fix it if it breaks for me), so i’ve decided to release it as public
> domain. however i think part of it can be considered a derivative work of
> another program (which is released under the BSD license). Can I really
> release it as public domain? Do I have to release it under the BSD license?
>
> Thanks for your attention, I hope it might be useful to someone :)
>
>
>
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users