diff --git a/zsh.d/01-env b/zsh.d/01-env index 320ece5..92517dd 100644 --- a/zsh.d/01-env +++ b/zsh.d/01-env @@ -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