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

# assumming that git is already installed and this repo is installed
echo "updating"
sudo apt-get update
echo "installing vim"
sudo apt -y install vim
echo "setting vim config"
cp ./.vimrc ~/.vimrc
cp ./vimconfigbase.vim ~/vimconfigbase.vim
echo "installing PlugInstall vim"
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
echo "installing tmux"
sudo apt-get -y install tmux
echo "setting xmodmap config"
cp ../.Xmodmap ~/.Xmodmap
xmodmap ~/.Xmodmap
echo "setting tmux config"
cp ../.tmux.conf ~/.tmux.conf
echo "append .bashrc of this repo lines to the .bashrc system file"
cp ../.sh_alias ~/.sh_alias
cat ../.bashrc >> ~/.bashrc
source ../.bashrc
# Additionally, fix the IP:
# vim /etc/dhcpcd.conf:
#
# interface eth0
# static ip_address=192.168.1.150/24
# static routers=192.168.1.1
# static domain_name_servers=192.168.1.1
# UPDATE: in newer systems (ie. raspbian on rpi5):
# vim /etc/network/interfaces:
#
# auto eth0
# iface eth0 inet static
# address 192.168.1.150
# netmask 255.255.255.0
# gateway 192.168.1.1
# dns-nameservers 192.168.1.1
#
# and then restart the network interfaces with:
# sudo systemctl restart networking