Added support for nvm

This commit is contained in:
Thomas Forgione 2018-12-14 09:53:41 +01:00
parent 1ab8f11ab2
commit c466ffe44a
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@ if [ -d $HOME/.cargo ]; then
export PATH=$HOME/.cargo/bin:$PATH
fi
# Nvm path
if [ -d $OME/.nvm ]; then
export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
fi
# LD_LIBRARY_PATH: I don't know why there is this line here but I'm too scared
# to delete it
export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH