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