forked from colonelpanic/dotfiles
[Shell] Disable annoying output at shell startup
This commit is contained in:
parent
6e43c9fc4f
commit
90bb82d7c5
@ -63,8 +63,10 @@ function _python_setup {
|
|||||||
|
|
||||||
function _node_setup {
|
function _node_setup {
|
||||||
# node/nvm
|
# node/nvm
|
||||||
if [ -e /usr/share/nvm/init-nvm.sh ]; then
|
if [ -e /usr/share/nvm/nvm.sh ]; then
|
||||||
source /usr/share/nvm/init-nvm.sh
|
# 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
|
else
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
Loading…
Reference in New Issue
Block a user