use nvm for compiling vim

This commit is contained in:
Cyryl Płotnicki 2019-01-19 14:07:38 +00:00
parent 258e549ba6
commit c161026b28

View file

@ -68,18 +68,11 @@ mkdir -p ~/.cargo/
echo "all links done"
echo "adding NVM"
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
$CURL -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
echo "sourcing env"
source ~/.setenv
# symlink 'nodejs' as node on some systems
# will replace symlink if it exists, but won't replace regular file
if [[ ! -f /usr/bin/node ]]; then
if [[ -f /usr/bin/nodejs ]]; then
$SUDO ln -vfs /usr/bin/nodejs /usr/bin/node
fi
fi
nvm use node
# tools
ln -vfs "$DIR/tools" ~/