bootstrap/bootstrap.sh

26 lines
1.4 KiB
Bash
Raw Normal View History

2017-10-12 14:02:17 +02:00
#! /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 && \
2017-10-17 13:52:19 +02:00
apt-file update && \
update-command-not-found"
2017-10-12 14:02:17 +02:00
# vim related
mkdir -p $HOME/.vim/autoload $HOME/.vim/bundle $HOME/.config/nvim && \
2018-01-29 13:51:26 +01:00
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 &&
2018-01-29 13:51:26 +01:00
curl -RLSso $HOME/.config/nvim/init.vim https://github.com/schtobia/systemsettings/raw/master/init.vim &&
nvim +PluginInstall +qall
2017-10-12 14:02:17 +02:00
# python3 related
2017-11-04 10:17:03 +01:00
sudo -S bash -c "curl --tlsv1.2 -RLfs https://bootstrap.pypa.io/get-pip.py | python2 &&\
2017-10-12 14:02:17 +02:00
curl --tlsv1.2 -RLfs https://bootstrap.pypa.io/get-pip.py | python3"
# zsh related
2017-10-12 14:02:17 +02:00
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
2017-10-12 14:02:17 +02:00
#git related
curl -RLSso $HOME/.gitconfig https://github.com/schtobia/systemsettings/raw/master/gitconfig