Load shell-completion for nvm if file exists

This commit is contained in:
2012-08-01 09:21:54 +01:00
parent 33aeb11b38
commit 58517f9947

View File

@@ -5,4 +5,9 @@
# Load nvm if it's available
if [ -f "$HOME/.nvm/nvm.sh" ]; then
source "$HOME/.nvm/nvm.sh"
# And it's shell completion
if [ -f "$HOME/.nvm/bash_completion" ]; then
source "$HOME/.nvm/bash_completion"
fi
fi