Browse Source

+ emergency nvm scripts

master
dimti 2 months ago
parent
commit
4477af0356
  1. 5
      .bashrc

5
.bashrc

@ -79,6 +79,11 @@ eval "$(starship init bash)"
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8
export LANG=ru_RU.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 # auto into tmux session
if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then
tmux attach || tmux tmux attach || tmux

Loading…
Cancel
Save