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.

51 lines
1.2 KiB

  1. # assumming that git is already installed and this repo is installed
  2. echo "updating"
  3. sudo apt-get update
  4. echo "installing vim"
  5. sudo apt -y install vim
  6. echo "setting vim config"
  7. cp ./.vimrc ~/.vimrc
  8. cp ./vimconfigbase.vim ~/vimconfigbase.vim
  9. echo "installing PlugInstall vim"
  10. curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
  11. https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  12. echo "installing tmux"
  13. sudo apt-get -y install tmux
  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. cp ../.sh_alias ~/.sh_alias
  21. cat ../.bashrc >> ~/.bashrc
  22. source ../.bashrc
  23. # Additionally, fix the IP:
  24. # vim /etc/dhcpcd.conf:
  25. #
  26. # interface eth0
  27. # static ip_address=192.168.1.150/24
  28. # static routers=192.168.1.1
  29. # static domain_name_servers=192.168.1.1
  30. # UPDATE: in newer systems (ie. raspbian on rpi5):
  31. # vim /etc/network/interfaces:
  32. #
  33. # auto eth0
  34. # iface eth0 inet static
  35. # address 192.168.1.150
  36. # netmask 255.255.255.0
  37. # gateway 192.168.1.1
  38. # dns-nameservers 192.168.1.1
  39. #
  40. # and then restart the network interfaces with:
  41. # sudo systemctl restart networking