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.

35 lines
869 B

  1. # assumming that git is already installed and this repo is installed
  2. echo "updating"
  3. sudo apt-get update
  4. echo "installing neovim"
  5. sudo apt-get -y install neovim
  6. curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
  7. https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  8. echo "installing tmux"
  9. sudo apt-get -y install tmux
  10. echo "setting nvim config"
  11. mkdir ~/config
  12. mkdir ~/config/nvim
  13. cp ../init.vim ~/.config/nvim/init.vim
  14. echo "setting xmodmap config"
  15. cp ../.Xmodmap ~/.Xmodmap
  16. xmodmap ~/.Xmodmap
  17. echo "setting tmux config"
  18. cp ../.tmux.conf ~/.tmux.conf
  19. echo "append .bashrc of this repo lines to the .bashrc system file"
  20. cat ../.bashrc >> ~/.bashrc
  21. # Additionally, fix the IP:
  22. # vim /etc/dhcpcd.conf:
  23. #
  24. # interface eth0
  25. # static ip_address=192.168.1.150/24
  26. # static routers=192.168.1.1
  27. # static domain_name_servers=192.168.1.1