Re:SHCL – An unholy union of Posix shell and Common Lisp
by eddieh on Tuesday May 22, 2018 @08:33PM
(#17130621)
Idk about “unholy”. I wish I could make eshell (in Emacs) my full time shell, but certain things like nvm don’t work, etc.
[ Parent
| on HN ]
Re:SHCL – An unholy union of Posix shell and Common Lisp
by chrisweekly on Tuesday May 22, 2018 @08:38PM
(#17130645)
nvm sucks! try n!
seriously, it's so much tidier!
Re:SHCL – An unholy union of Posix shell and Common Lisp
by adisbladis on Wednesday May 23, 2018 @12:24AM
(#17131466)
Imho all these tools like nvm, rvm etc are deeply flawed and doesn't really do their jobs all that well.
Where I work we use the nix package manager. Making sure your team is using the same version of node is just a few lines of config away:
with (import <nixpkgs> {});
mkShell {
buildInputs [ nodejs-8_x ];
}
Pinning the whole package tree is just a few more lines away and offers you full reproducibility but I omitted it for brevity.Another upside is that this approach is language agnostic and works for all tools packaged in the nix package repository.