Skip to content

Commit

Permalink
Update rbenv and nvm setup
Browse files Browse the repository at this point in the history
  • Loading branch information
maiwald committed Jun 6, 2023
1 parent 0af44ad commit 018a797
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ export PATH="/usr/local/share/npm/bin:$PATH"
export PATH="/usr/local/sbin:$PATH"
export PATH="/usr/local/bin:$PATH"

# rbenv
export PATH="$HOME/.rbenv/bin:$PATH"

# go lang
export GOPATH=$HOME/.golang
export GOROOT=/opt/homebrew/opt/go/libexec
Expand Down
3 changes: 2 additions & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@

# load rbenv
if which rbenv > /dev/null; then
eval "$(rbenv init -)";
eval "$(rbenv init - zsh)";
fi

# load nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

0 comments on commit 018a797

Please sign in to comment.