[Shell] Disable annoying output at shell startup

This commit is contained in:
Ivan Malison 2016-12-05 16:32:16 -08:00
parent 6e43c9fc4f
commit 90bb82d7c5
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -63,8 +63,10 @@ function _python_setup {
function _node_setup {
# node/nvm
if [ -e /usr/share/nvm/init-nvm.sh ]; then
source /usr/share/nvm/init-nvm.sh
if [ -e /usr/share/nvm/nvm.sh ]; then
# This used to be init-nvm.sh but that automatically loads bash
# completion which can be quite annoying.
source /usr/share/nvm/nvm.sh
else
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm