summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <bfr@qbus.de>2023-06-21 09:54:31 +0200
committerBenjamin Franzke <bfr@qbus.de>2023-06-21 09:54:31 +0200
commit73deaa7ea6dfe09ba32daf2ccae99fc74eaad84d (patch)
tree06db670c5d5105525745350bc0e5b566c465da0e
parent533dbaba4b1985cfbdb80b6f72ba1d2457aad70a (diff)
downloaddotfiles-73deaa7ea6dfe09ba32daf2ccae99fc74eaad84d.tar.gz
dotfiles-73deaa7ea6dfe09ba32daf2ccae99fc74eaad84d.tar.bz2
dotfiles-73deaa7ea6dfe09ba32daf2ccae99fc74eaad84d.zip
Add nvm config
-rw-r--r--.config/bash/bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/bash/bashrc b/.config/bash/bashrc
index d0e460a..46e17d1 100644
--- a/.config/bash/bashrc
+++ b/.config/bash/bashrc
@@ -18,3 +18,7 @@ if [ -f /home/ben/.tnsrc ]; then
source /home/ben/.tnsrc
fi
###-tns-completion-end-###
+
+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