derekstavis / plugin-nvm

Node version manager wrapper for Fish shell
MIT License
233 stars 12 forks source link

Doesn't work on FreeBSD 10.2-RELEASE #7

Closed joseluisq closed 8 years ago

joseluisq commented 8 years ago
source: not found
nvm: not found

image

derekstavis commented 8 years ago

Could your please paste the output of bash -c 'type source'? What's your bash version?

joseluisq commented 8 years ago

I don't have bash I have tcsh by default (sh)

$ tcsh --version
tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-amd-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec
derekstavis commented 8 years ago

Hm, I think I wasn't prepared to this! Some questions:

  1. Does bash points to tcsh?
  2. If doesn't, what's bash --version?
  3. Does tcsh have a source function/builtin?
  4. Have you ever used nvm in tcsh?
joseluisq commented 8 years ago
  1. Fish to the default shell.
  2. No, I haven't used (but I have used nvm on Linux OS)
derekstavis commented 8 years ago

You need to install bash. I have tested here and it works:

screen shot 2016-01-17 at 10 56 15 pm

But nvm is sad anyway on FreeBSD :(

screen shot 2016-01-17 at 10 58 22 pm

joseluisq commented 8 years ago

With bash by default shell nvm works fine but... For this issue https://github.com/nodejs/node/issues/3716 So that I had decided to install Node from official package :smile:

$ sudo pkg install node npm

I will close this issue anyway. Thanks.