add install script

This commit is contained in:
qcloud 2023-09-30 20:30:35 +08:00
parent e6c75ed341
commit a27ce3efaa
4 changed files with 19 additions and 10 deletions

View File

@ -2,6 +2,7 @@ require ('normal.normal')
-- require('vscode')
-- require('Plugin.coc')
require('Plugin.lualine')
require('Plugin.Imchange')
require('Plugin.NERDTree')

18
install.sh Executable file
View File

@ -0,0 +1,18 @@
if [ -f /etc/lsb-release ]; then
echo "This linux is Ubuntu!!!"
apt install software-properties-common
add-apt-repository ppa:neovim-ppa/unstable
apt update && apt upgrade -y && apt install neovim -y
curl -sL https://deb.nodesource.com/setup_lts.x | bash -
apt update && apt upgrade -y && apt install nodejs -y
else
echo "This linux is Archlinux!!!"
sudo pacman -S --needed --noconfirm neovim nodejs
fi

View File

@ -1 +0,0 @@
sudo pacman -S neovim nodejs fuzzy python-pynvim --needed --noconfirm

View File

@ -1,9 +0,0 @@
apt install software-properties-common
add-apt-repository ppa:neovim-ppa/stable
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - &&\
apt update && apt upgrade -y
apt install -y git curl wget zsh
apt install -y build-essential
apt install -y python3 python3-pip
apt install -y btop tree fzf
apt install -y neovim nodejs