From 304a745a7414a9c89ed4805426ffd9f3ad86e158 Mon Sep 17 00:00:00 2001 From: arnaucube Date: Tue, 18 Dec 2018 20:06:30 +0100 Subject: [PATCH] raspberry config setter --- raspberry/install-raspberry-minimum.sh | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 raspberry/install-raspberry-minimum.sh diff --git a/raspberry/install-raspberry-minimum.sh b/raspberry/install-raspberry-minimum.sh new file mode 100644 index 0000000..53ebfe7 --- /dev/null +++ b/raspberry/install-raspberry-minimum.sh @@ -0,0 +1,27 @@ +# assumming that git is already installed and this repo is installed + +echo "updating" +sudo apt-get update + +echo "installing neovim" +sudo apt-get -y install neovim +curl -fLo ~/.local/share/nvim/site/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 nvim config" +mkdir ~/config +mkdir ~/config/nvim +cp ../init.vim ~/.config/nvim/init.vim + +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" +cat ../.bashrc >> ~/.bashrc