diff --git a/.bashrc b/.bashrc index 5799592..6b0d82b 100644 --- a/.bashrc +++ b/.bashrc @@ -3,8 +3,13 @@ # # If not running interactively, don't do anything -[[ $- != *i* ]] && return alias ls='ls --color=auto' -PS1='[\u@\h \W]\$ ' . "$HOME/.cargo/env" + +export GPG_TTY=$(tty) + +export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" +source /etc/nhi/nhi.bash