Fish: Add env stuff for nvm
This commit is contained in:
parent
412319de57
commit
33724ae421
|
@ -32,3 +32,5 @@ export XDG_USER_CONFIG_DIR="$XDG_CONFIG_HOME"
|
|||
export LD_LIBRARY_PATH="$HOME/local/lib/x86_64-linux-gnu/:$HOME/local/lib"
|
||||
export PKG_CONFIG_PATH="$HOME/local/lib/x86_64-linux-gnu/pkgconfig:$HOME/local/lib/pkgconfig"
|
||||
|
||||
export NVM_DIR="$HOME/.config/nvm"
|
||||
|
||||
|
|
|
@ -16,3 +16,8 @@ if ! command -v direnv &> /dev/null; then
|
|||
# TODO: Ignore if direnv hook retured status 1
|
||||
eval "$(direnv hook $CURSHELL)"
|
||||
fi
|
||||
|
||||
# export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
||||
# ^ Above is commented because it's already in ~/.exportenvs
|
||||
# Load (the) nvm
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
|
|
Loading…
Reference in New Issue