diff --git a/.bashrc b/.bashrc index e83842d..5e1c7c9 100644 --- a/.bashrc +++ b/.bashrc @@ -129,9 +129,9 @@ fi # Disable the bell if [[ $iatest -gt 0 ]]; then bind "set bell-style visible"; fi -# Use bash-completion, if available -[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \ - . /usr/share/bash-completion/bash_completion +## Use bash-completion, if available +#[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \ +# . /usr/share/bash-completion/bash_completion ####################################################### # Functions @@ -197,3 +197,7 @@ eval "$(starship init bash)" # Zoxide eval "$(zoxide init bash)" + +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion