use nvm for compiling vim
This commit is contained in:
parent
258e549ba6
commit
c161026b28
1 changed files with 2 additions and 9 deletions
|
@ -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" ~/
|
||||
|
|
Loading…
Reference in a new issue