diff options
| author | Chris <[email protected]> | 2020-05-12 14:35:18 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2020-05-12 14:35:18 -0400 | 
| commit | da1a911ee348f9b9cbd0872474969dd53de98f14 (patch) | |
| tree | ee0a7596ef47ce8192ea884ea590ecfebf147ed0 | |
| parent | f2c8778fef8a9a73cc73cd492892213ce79becd0 (diff) | |
update to install npm if needed
| -rwxr-xr-x | utils/install.sh | 14 | 
1 files changed, 10 insertions, 4 deletions
| diff --git a/utils/install.sh b/utils/install.sh index 1353f431..95081ec9 100755 --- a/utils/install.sh +++ b/utils/install.sh @@ -9,10 +9,12 @@ installnodemac() { \  installnodeubuntu() { \    sudo apt install nodejs +  sudo apt install npm  }  installnodearch() { \    sudo pacman -S nodejs +  sudo pacman -S npm  }  installnode() { \ @@ -88,7 +90,7 @@ pipinstallueberzug() { \  installonubuntu() { \    sudo apt install ripgrep fzf ranger   -  pipinstallueberzug +  pip3 install ueberzug  } @@ -107,12 +109,14 @@ installextrapackages() { \  # Welcome  echo 'Installing Nvim Mach 2' -# install node and neovim support -which node > /dev/null && echo "node installed, moving on..." - +echo 'Please make sure you have pip installed'  # install pip  which pip3 > /dev/null && echo "pip installed, moving on..." +# install node and neovim support +which node > /dev/null && echo "node installed, moving on..." || installnode + +  # install pynvim  pip3 list | grep pynvim > /dev/null && echo "pynvim installed, moving on..." || installpynvim @@ -129,3 +133,5 @@ read answer  # install plugins  which nvim > /dev/null && installplugins + +echo "I recommend you also install and activate a font from here: https://github.com/ryanoasis/nerd-fonts" | 
