mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
raspberry config setter
This commit is contained in:
27
raspberry/install-raspberry-minimum.sh
Normal file
27
raspberry/install-raspberry-minimum.sh
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user