Fix and simplify 'nvm' setup
This commit is contained in:
8
.bashrc
8
.bashrc
@@ -87,13 +87,7 @@ fi
|
|||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# Node {{{
|
# Node {{{
|
||||||
# Move nvm folder away from home directory
|
. /usr/share/nvm/init-nvm.sh
|
||||||
export NVM_DIR="${XDG_CONFIG_HOME}/nvm"
|
|
||||||
# Pretty much what is in `/usr/share/nvm/init-nvm.sh` but we add the `--no-use`
|
|
||||||
# flag to `nvm.sh` to make it lazy
|
|
||||||
. /usr/share/nvm/nvm.sh --no-use
|
|
||||||
. /usr/share/nvm/bash_completion
|
|
||||||
. /usr/share/nvm/install-nvm-exec
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# Go {{{
|
# Go {{{
|
||||||
|
|||||||
Reference in New Issue
Block a user