commit ee9ea9c31a889fd58c08d7ba6d860825c2b7d440 Author: Tobias Schmidl Date: Thu Oct 12 14:02:17 2017 +0200 diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100644 index 0000000..7733afb --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,74 @@ +#! /bin/sh +sudo bash -c "apt install elinks git zsh curl neovim byobu command-not-found apt-file htop python3-venv locales man mc && \ + update-command-not-found && \ + apt-file update" + +mkdir -p $HOME/.vim/autoload $HOME/.vim/bundle && \ + curl -LSso $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/bundles/vim-colors-solarized && \ + cat > $HOME/.vimrc <") +let load_doxygen_syntax = 1 +"set autoindent +set encoding=utf-8 +set icon +"set smartindent +set smartcase +set spelllang=de,en +set softtabstop=4 +set tabstop=4 +set shiftwidth=4 +set nowrap +set number +set foldmethod=indent +set foldnestmax=10 +set nofoldenable +set modeline +set listchars=eol:¶,tab:\»\ ,trail:~,extends:>,precedes:< +set list +filetype plugin indent on +EOF + +mkdir -p $HOME/.config/nvim && + cat > $HOME/.config/nvim/init.vim << EOF +set runtimepath^=~/.vim runtimepath+=~/.vim/after +let &packpath = &runtimepath +set termguicolors +source ~/.vimrc +EOF + +sudo 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" + +git clone https://github.com/schtobia/oh-my-zsh.git $HOME/.oh-my-zsh && \ + cp .oh-my-zsh/templates/zshrc.zsh-template $HOME/.zshrc + +git config --global user.name "Tobias Schmidl" +git config --global 'url.https://.insteadof' 'http://' +git config --global rebase.autosquash true +git config --global credential.helper store +git config --global diff.renames copies +git config --global diff.renamelimit 65536 +git config --global http.sslverify true +git config --global http.sslversion tlsv1.2 +git config --global merge.renormalize true +git config --global merge.conflictstyle diff3 +git config --global pack.threads 0 +git config --global pull.rebase true +git config --global branch.master.rebase true +git config --global core.autocrlf input +git config --global gitflow.branch.master stable +git config --global gitflow.branch.develop master +git config --global gitflow.prefix.feature 'dev/' +git config --global branch.autosetuprebase true \ No newline at end of file