fnm
fnm copied to clipboard
Consider adding command for preparing shell in light of homebrew not allowing instructions in caveats section
It would be nice if there was a command like fnm env [--prepare-shell=bash|zsh|fish|powershell]
that would in the case of fish add a file to ~/.config/fish/conf.d/fnm.fish
with fnm evn | source
as content.
With this the homebrew installer could do everything needed to install fnm and the instructions to setup fnm properly would be simpler in general.
The command could also be fnm prepare-shell [--shell=bash|zsh|fish|powershell]
to align with fnm completions
.
Sounds very good. And it will make the installation script much simpler by relying less on Bash 😄