bootstrap/bootstrap.sh

24 lines
711 B
Bash
Raw Normal View History

2022-02-26 16:39:46 +01:00
#!/bin/bash
ME="waldek"
LOCALHOME="/home/"
2022-03-21 11:16:24 +01:00
if [ $USER != $ME ]; then
echo "you need to run this script as yourself, but you need to be in the sudo group..."
exit 1
fi
2022-02-26 16:39:46 +01:00
echo "setting up $ME"
HOME=$LOCALHOME$ME
2022-02-26 16:42:10 +01:00
sudo apt update && sudo apt install -y zsh git tig tmux vim-nox htop
cd $HOME
git clone git://github.com/robbyrussell/oh-my-zsh.git $HOME/.oh-my-zsh
cp $HOME/.oh-my-zsh/templates/zshrc.zsh-template $HOME/.zshrc
sudo chsh -s /bin/zsh $ME
mkdir $HOME/sources
git clone https://gitea.86thumbs.net/waldek/vimrc.git $HOME/sources/vimrc
cd $HOME
ln -s $HOME/sources/vimrc/main.vimrc $HOME/.vimrc
git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim
2022-03-21 11:16:24 +01:00
vim +VundleInstall +qall