Add NVM to .bashrc

This commit is contained in:
Zachary Billman 2023-04-25 17:23:01 -04:00
parent dc4f348165
commit fcc7a909f6

View File

@ -19,6 +19,9 @@ export PATH=$PATH:/home/zpb/.config/emacs/bin
export EDITOR="emacs -nw"
export VISUAL=emacs
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
if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} ]]
then
exec fish