bootstrap/bootstrap.sh

29 lines
1.4 KiB
Bash
Raw Normal View History

2017-10-12 14:02:17 +02:00
#! /bin/sh
2018-05-03 07:50:43 +02:00
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 && \
2017-10-17 13:52:19 +02:00
apt-file update && \
update-command-not-found"
2017-10-12 14:02:17 +02:00
2018-03-07 16:27:52 +01:00
# 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 && \
2018-03-07 16:52:24 +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 && \
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)
2017-10-12 14:02:17 +02:00
# zsh related
2018-02-05 06:48:20 +01:00
mkdir -p $HOME/.local/lib/zsh/custom-zsh &&
2018-01-29 16:40:56 +01:00
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
2017-10-12 14:02:17 +02:00
#git related
curl -RLSso $HOME/.gitconfig https://github.com/schtobia/systemsettings/raw/master/gitconfig