Skip to content

Commit

Permalink
fnm
Browse files Browse the repository at this point in the history
  • Loading branch information
zzJinux committed Sep 30, 2024
1 parent 9fd410d commit 26ea0c0
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions fnm/shcmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eval "$(fnm env --use-on-cd)"
5 changes: 5 additions & 0 deletions fnm/shlogin
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if [ -d "$FNM_PATH" ]; then
path_appends+=(
"$HOME/Library/Application Support/fnm:$PATH"
)
fi
1 change: 1 addition & 0 deletions homebrew/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ brew "jesseduffield/lazygit/lazygit"
brew "helm"
brew "tilt"
brew "subversion"
brew "fnm"

# Language tools
brew "ruby"
Expand Down
2 changes: 1 addition & 1 deletion shell/_installconf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cat <<EOF | sudo EDITOR="tee -a" visudo -f /etc/sudoers.d/env_keep
Defaults env_keep += "TERM_PROGRAM TERM_PROGRAM_VERSION ITERM_PROFILE LC_TERMINAL LC_TERMINAL_VERSION"
Defaults env_keep += "ITERM_SESSION_ID TERM_SESSION_ID LOGIN_SHELL_SESSION_ID SHELL_SESSION_ID"
Defaults env_keep += "XDG_DATA_DIRS"
Defaults env_keep += "JAVA_HOME PNPM_HOME VOLTA_HOME INFOPATH"
Defaults env_keep += "JAVA_HOME PNPM_HOME INFOPATH"
Defaults env_keep += "CLICOLOR LESS PAGER MANPAGER"
Defaults env_keep += "HOMEBREW_PREFIX HOMEBREW_CELLAR HOMEBREW_REPOSITORY"
EOF
2 changes: 1 addition & 1 deletion shell/profile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export XDG_DATA_DIRS="$HOMEBREW_PREFIX/share:$XDG_DATA_DIRS"
source "$DOTFILES/go/shlogin"
source "$DOTFILES/rust/shlogin"
source "$DOTFILES/java/shlogin"
source "$DOTFILES/volta/shlogin"
source "$DOTFILES/fnm/shlogin"
[ -r "$DOTFILES/local/shlogin" ] && source "$DOTFILES/local/shlogin"

# python (Xcode Command Line Tools)
Expand Down
4 changes: 0 additions & 4 deletions volta/shlogin

This file was deleted.

1 change: 1 addition & 0 deletions zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ li=(
macos
git
fzf
fnm
local
)
for b in "${li[@]}"; do
Expand Down

0 comments on commit 26ea0c0

Please sign in to comment.