fnm icon indicating copy to clipboard operation
fnm copied to clipboard

Consider adding command for preparing shell in light of homebrew not allowing instructions in caveats section

Open zimme opened this issue 4 years ago • 2 comments

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.

zimme avatar Nov 23 '20 13:11 zimme

The command could also be fnm prepare-shell [--shell=bash|zsh|fish|powershell] to align with fnm completions.

zimme avatar Nov 23 '20 13:11 zimme

Sounds very good. And it will make the installation script much simpler by relying less on Bash 😄

Schniz avatar Nov 23 '20 14:11 Schniz