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

  1. # assumming that git is already installed and this repo is installed
  2. echo "updating"
  3. sudo apt-get update
  4. # tmux
  5. echo "installing tmux"
  6. sudo 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. sudo 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.11.5"
  34. wget https://dl.google.com/go/go1.11.5.linux-amd64.tar.gz
  35. tar -C /usr/local -xzf go1.11.5.linux-amd64.tar.gz
  36. # nodejs
  37. echo "installing nodejs v8"
  38. curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
  39. sudo apt-get install -y nodejs
  40. echo "installing npm http-server"
  41. sudo npm install -g http-server