bootstrap/bootstrap.sh
2018-01-19 08:55:12 +01:00

26 lines
1.6 KiB
Bash

#! /bin/sh
sudo -S bash -c "apt install bash-completion elinks git zsh curl vim-nox byobu command-not-found apt-file htop python3-venv python3 locales man mc && \
apt-file update && \
update-command-not-found"
# vim related
mkdir -p $HOME/.vim/autoload $HOME/.vim/bundle $HOME/.config/nvim && \
curl -RLSso $HOME/.vim/autoload/pathogen.vim https://github.com/tpope/vim-pathogen/raw/master/autoload/pathogen.vim && \
git clone https://github.com/altercation/vim-colors-solarized.git $HOME/.vim/bundle/vim-colors-solarized && \
git clone https://github.com/tpope/vim-sleuth.git $HOME/.vim/bundle/vim-sleuth &&
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
# 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"
# zsh related
git clone https://github.com/schtobia/oh-my-zsh.git $HOME/.oh-my-zsh && \
curl -RLSso $HOME/.profile https://github.com/schtobia/systemsettings/raw/master/profile && \
curl -RLSso $HOME/.zshrc https://github.com/schtobia/systemsettings/raw/master/zshrc && \
curl -RLSso $HOME/.oh-my-zsh/custom/aliases.zsh https://github.com/schtobia/systemsettings/raw/master/aliases.zsh &&
curl -RLSso $HOME/.oh-my-zsh/custom/init.zsh https://github.com/schtobia/systemsettings/raw/master/init.zsh
#git related
curl -RLSso $HOME/.gitconfig https://github.com/schtobia/systemsettings/raw/master/gitconfig