1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2026-02-06 00:53:23 +00:00

Update NVM initialization

This commit is contained in:
Holger Just 2018-06-25 17:36:46 +02:00
parent 836b72bf3d
commit 1f5de18070

View File

@ -44,7 +44,9 @@ export HISTFILESIZE=""
shopt -s histappend >/dev/null 2>&1
# NVM
[[ -s $HOME/.nvm/nvm.sh ]] && source $HOME/.nvm/nvm.sh
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
# SSH specific config.
if [[ -n "$SSH_CLIENT" ]]; then