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 "all links done"
|
||||||
|
|
||||||
echo "adding NVM"
|
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"
|
echo "sourcing env"
|
||||||
source ~/.setenv
|
source ~/.setenv
|
||||||
|
nvm use node
|
||||||
# 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
|
|
||||||
|
|
||||||
# tools
|
# tools
|
||||||
ln -vfs "$DIR/tools" ~/
|
ln -vfs "$DIR/tools" ~/
|
||||||
|
|
Loading…
Reference in a new issue