From da1a911ee348f9b9cbd0872474969dd53de98f14 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 12 May 2020 14:35:18 -0400 Subject: update to install npm if needed --- utils/install.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'utils') 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" -- cgit v1.2.3