From 4477af035634fe1991a1c8d81d0bf13e5e1b4ac2 Mon Sep 17 00:00:00 2001 From: dimti Date: Wed, 23 Oct 2024 14:07:45 +0300 Subject: [PATCH] + emergency nvm scripts --- .bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bashrc b/.bashrc index 2301759..4c17adf 100644 --- a/.bashrc +++ b/.bashrc @@ -79,6 +79,11 @@ eval "$(starship init bash)" export LC_ALL=en_US.UTF-8 export LANG=ru_RU.UTF-8 +[ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.nvm" +test -d $NVM_DIR && source /usr/share/nvm/nvm.sh +test -d $NVM_DIR && source /usr/share/nvm/bash_completion +test -d $NVM_DIR && source /usr/share/nvm/install-nvm-exec + # auto into tmux session if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then tmux attach || tmux