Add NVM to .bashrc
This commit is contained in:
parent
dc4f348165
commit
fcc7a909f6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user