From ff9d16abb57df008746228ae25269689e4724f00 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 5 Nov 2020 00:27:01 +0100 Subject: [PATCH] adjust --- init-neovim.sh | 3 --- init-tmux.sh | 0 init-zsh.sh | 0 install-basics.sh | 14 -------------- install-nginx.sh | 0 install-node.sh | 9 +++++++++ 6 files changed, 9 insertions(+), 17 deletions(-) mode change 100644 => 100755 init-neovim.sh mode change 100644 => 100755 init-tmux.sh mode change 100644 => 100755 init-zsh.sh mode change 100644 => 100755 install-basics.sh mode change 100644 => 100755 install-nginx.sh create mode 100755 install-node.sh diff --git a/init-neovim.sh b/init-neovim.sh old mode 100644 new mode 100755 index 88bcc67..7658bbd --- a/init-neovim.sh +++ b/init-neovim.sh @@ -7,10 +7,7 @@ cat <$HOME/.config/nvim/init.vim call plug#begin('~/.vim/plugged') Plug 'vim-airline/vim-airline' Plug 'scrooloose/nerdtree', { } -Plug 'tpope/vim-vinegar' -Plug 'tpope/vim-fugitive' Plug 'sheerun/vim-polyglot' -Plug 'mxw/vim-jsx' Plug 'scrooloose/nerdcommenter' Plug 'NLKNguyen/papercolor-theme' call plug#end() diff --git a/init-tmux.sh b/init-tmux.sh old mode 100644 new mode 100755 diff --git a/init-zsh.sh b/init-zsh.sh old mode 100644 new mode 100755 diff --git a/install-basics.sh b/install-basics.sh old mode 100644 new mode 100755 index 50dd8c6..90eba89 --- a/install-basics.sh +++ b/install-basics.sh @@ -2,17 +2,3 @@ apt update -y apt install sudo neovim zsh git tmux -y - -# install node - -curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - -apt update -y -apt install nodejs -y -node --version -curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - -echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list -sudo apt update && sudo apt install yarn - -# install pm2 - -yarn global add pm2 --prefix /usr/local diff --git a/install-nginx.sh b/install-nginx.sh old mode 100644 new mode 100755 diff --git a/install-node.sh b/install-node.sh new file mode 100755 index 0000000..9c1936c --- /dev/null +++ b/install-node.sh @@ -0,0 +1,9 @@ +# install node + +curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - +apt update -y +apt install nodejs -y +node --version +curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - +echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list +sudo apt update && sudo apt install yarn