Add support for nvm

This commit is contained in:
Jonny Barnes 2023-02-16 15:09:02 +00:00
parent e546c529b9
commit e2d34f09af
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8

View file

@ -134,6 +134,11 @@ test -e ${HOME}/.iterm2_shell_integration.zsh && source ${HOME}/.iterm2_shell_in
# Source the untracked `extra` file
test -e $HOME/.extra && source $HOME/.extra
# Setup NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Init the fuck
if type thefuck > /dev/null; then
eval "$(thefuck --alias)"