Skip to content

Commit

Permalink
Work around long-standing annoying nvm bug
Browse files Browse the repository at this point in the history
  • Loading branch information
drewr committed Feb 25, 2017
1 parent dc31606 commit a792189
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion zsh.d/01-env
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ fi
[[ -d $HOME/.local ]] && PATH=$HOME/.local/bin:$PATH
[[ -d $HOME/.cargo ]] && PATH=$HOME/.cargo/bin:$PATH
[[ -d $HOME/.nix-profile ]] && . $HOME/.nix-profile/etc/profile.d/nix.sh
[[ -d $HOME/.nvm ]] && . $HOME/.nvm/nvm.sh

if [[ $(hostname) == hotel ]]; then
NVM_DIR=/d${HOME}/.nvm
else
NVM_DIR={HOME}/.nvm
fi

[[ -d $HOME/.nvm ]] && source $HOME/.nvm/nvm.sh
[[ -d $HOME/perl5 ]] && . $HOME/perl5/perlbrew/etc/bashrc

CLOJURESCRIPT_HOME=$HOME/src/clojurescript; export CLOJURESCRIPT_HOME
Expand Down

0 comments on commit a792189

Please sign in to comment.