bootstrap/bootstrap.sh
Tobias Schmidl a6cc5ae3d1
2018-05-03 07:50:43 +02:00

28 lines
1.4 KiB
Bash

#! /bin/sh
sudo -S bash -c "apt install bash-completion elinks git zsh curl neovim fortunes fortunes-de fortunes-debian-hints fortunes-off cowsay byobu command-not-found apt-file htop python3-venv python3 locales man mc cmake clang build-essential libpython-dev libpython3-dev && \
apt-file update && \
update-command-not-found"
# node related
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs
# python3 related
sudo -S bash -c "curl --tlsv1.2 -RLfs https://bootstrap.pypa.io/get-pip.py | python2 &&\
curl --tlsv1.2 -RLfs https://bootstrap.pypa.io/get-pip.py | python3"
# vim related
mkdir -p $HOME/.vim/autoload $HOME/.vim/bundle $HOME/.config/nvim && \
git clone https://github.com/VundleVim/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim && \
curl -RLSso $HOME/.vimrc https://github.com/schtobia/systemsettings/raw/master/vimrc && \
curl -RLSso $HOME/.config/nvim/init.vim https://github.com/schtobia/systemsettings/raw/master/init.vim && \
nvim +PluginInstall +qall && \
(cd $HOME/.vim/bundle/YouCompleteMe && ./install.py --clang-completer --js-completer --system-libclang)
# zsh related
mkdir -p $HOME/.local/lib/zsh/custom-zsh &&
git clone https://github.com/zsh-users/antigen.git $HOME/.local/lib/zsh/antigen &&
curl -RLSso $HOME/.zshrc https://github.com/schtobia/systemsettings/raw/master/zshrc
#git related
curl -RLSso $HOME/.gitconfig https://github.com/schtobia/systemsettings/raw/master/gitconfig