diff --git a/init.lua b/init.lua index 35be02f..d053fce 100644 --- a/init.lua +++ b/init.lua @@ -2,6 +2,7 @@ require ('normal.normal') -- require('vscode') -- require('Plugin.coc') + require('Plugin.lualine') require('Plugin.Imchange') require('Plugin.NERDTree') diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..585a74e --- /dev/null +++ b/install.sh @@ -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 + + diff --git a/lua/install/arch b/lua/install/arch deleted file mode 100644 index d5f0d07..0000000 --- a/lua/install/arch +++ /dev/null @@ -1 +0,0 @@ -sudo pacman -S neovim nodejs fuzzy python-pynvim --needed --noconfirm diff --git a/lua/install/ubuntu b/lua/install/ubuntu deleted file mode 100644 index 69a13b3..0000000 --- a/lua/install/ubuntu +++ /dev/null @@ -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