some fixes

This commit is contained in:
waldek 2022-03-21 11:16:24 +01:00
parent 8841e42dab
commit e21209def7
1 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,11 @@
ME="waldek" ME="waldek"
LOCALHOME="/home/" LOCALHOME="/home/"
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
echo "setting up $ME" echo "setting up $ME"
HOME=$LOCALHOME$ME HOME=$LOCALHOME$ME
sudo apt update && sudo apt install -y zsh git tig tmux vim-nox htop sudo apt update && sudo apt install -y zsh git tig tmux vim-nox htop
@ -15,4 +20,4 @@ git clone https://gitea.86thumbs.net/waldek/vimrc.git $HOME/sources/vimrc
cd $HOME cd $HOME
ln -s $HOME/sources/vimrc/main.vimrc $HOME/.vimrc ln -s $HOME/sources/vimrc/main.vimrc $HOME/.vimrc
git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim
vim +VundleInstall +qall" vim +VundleInstall +qall