You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.4 KiB

5 years ago
5 years ago
5 years ago
5 years ago
  1. # assumming that git & vim are already installed and this repo is downloaded
  2. echo "updating"
  3. apt-get update
  4. # tmux
  5. echo "installing tmux"
  6. apt-get -y install tmux
  7. echo "setting tmux config"
  8. cp ./.tmux.conf ~/.tmux.conf
  9. # vim
  10. echo "setting vim config"
  11. cp ./.vimrc ~/.vimrc
  12. # neovim
  13. echo "installing neovim"
  14. apt-get -y install neovim
  15. curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
  16. https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  17. echo "setting nvim config"
  18. mkdir ~/.config
  19. mkdir ~/.config/nvim
  20. cp ./init.vim ~/.config/nvim/init.vim
  21. # vim & neovim PlugInstall
  22. echo "installing PlugInstall vim"
  23. curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
  24. https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  25. echo "installing PlugInstall neovim"
  26. curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
  27. https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  28. # bash
  29. echo "append .bashrc of this repo lines to the .bashrc system file"
  30. cat .bashrc >> ~/.bashrc
  31. source .bashrc
  32. # go
  33. echo "installing go 1.12.5"
  34. wget https://dl.google.com/go/go1.12.5.linux-amd64.tar.gz
  35. tar -C /usr/local -xzf go1.12.5.linux-amd64.tar.gz
  36. # nodejs
  37. echo "installing nodejs v10"
  38. curl -sL https://deb.nodesource.com/setup_10.x | bash -
  39. apt-get install -y nodejs
  40. echo "installing npm http-server"
  41. npm install -g http-server