From 6b08e4b8ad2b7d03d27429f7f122811cf6582ef3 Mon Sep 17 00:00:00 2001 From: Alexander Bell Date: Sat, 31 May 2025 16:26:59 +0200 Subject: [PATCH] nvm --- .bashrc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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