File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 3
3
# exit immediately if a pipeline exits with a non-zero status
4
4
set -Eeuxo pipefail
5
5
6
+ FNM_PATH=" $HOME /.fnm"
7
+
6
8
# Install FNM (https://github.com/Schniz/fnm)
7
- curl -fsSL https://fnm.vercel.app/install | bash -s -- --force-no-brew --install-dir " $HOME /.fnm " --skip-shell
9
+ curl -fsSL https://fnm.vercel.app/install | bash -s -- --force-no-brew --install-dir " $FNM_PATH " --skip-shell
8
10
9
11
# Setup Fish shell for FNM
10
12
mkdir -p ~ /.config/fish/conf.d
@@ -14,7 +16,7 @@ fnm env --use-on-cd --version-file-strategy=recursive --resolve-engines --shell
14
16
EOF
15
17
16
18
# Setup Fish FNM completions
17
- fnm completions --shell=fish > ~ /.config/fish/completions/fnm.fish
19
+ " $FNM_PATH / fnm" completions --shell=fish > ~ /.config/fish/completions/fnm.fish
18
20
19
21
# Install latest Node.js version
20
- fnm install --latest
22
+ " $FNM_PATH / fnm" install --latest
You can’t perform that action at this time.
0 commit comments