-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vladyslav Dukhin <[email protected]>
- Loading branch information
Showing
5 changed files
with
36 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
# exit immediately if a pipeline exits with a non-zero status | ||
set -Eeuxo pipefail | ||
|
||
# Install FNM (https://github.com/Schniz/fnm) | ||
curl -fsSL https://fnm.vercel.app/install | bash -s -- --force-no-brew --install-dir "$HOME/.fnm" --skip-shell | ||
|
||
# Setup Fish shell for FNM | ||
mkdir -p ~/.config/fish/conf.d | ||
cat << 'EOF' > "$HOME/.config/fish/conf.d/fnm.fish" | ||
fish_add_path "$HOME/.fnm" | ||
fnm env --use-on-cd --version-file-strategy=recursive --resolve-engines --shell fish | source | ||
EOF | ||
|
||
# Setup Fish FNM completions | ||
fnm completions --shell=fish > ~/.config/fish/completions/fnm.fish | ||
|
||
# Install latest Node.js version | ||
fnm install --latest |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters