run as single unit

This commit is contained in:
ViktorBarzin 2018-01-13 21:35:18 +00:00
parent 90366d4edf
commit 4472801ee6

View file

@ -1,22 +1,22 @@
#!/bin/bash
# Install zsh
sudo apt install zsh
sudo apt install zsh && \
# Setup oh-my-zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" && \
# Password prompt
# Setup config files
git clone https://github.com/ViktorBarzin/dot_files.git
cp dot_files/.zshrc ~/.zshrc
cp dot_files/.bash_aliases ~/.bash_aliases
sudo cp dot_files/virtualenvwrapper.sh /usr/local/bin/virtualenvwrapper.sh
cp dot_files/.zshenv ~/.zshenv
git clone https://github.com/ViktorBarzin/dot_files.git && \
cp g.zshrc ~/.zshrc && \
cp g.bash_aliases ~/.bash_aliases && \
sudo cp gvirtualenvwrapper.sh /usr/local/bin/virtualenvwrapper.sh && \
cp g.zshenv ~/.zshenv && \
# Configure j (jump)
# Debian like
wget https://github.com/gsamokovarov/jump/releases/download/v0.18.0/jump_0.18.0_amd64.deb
sudo dpkg -i jump_0.18.0_amd64.deb
wget https://github.com/gsamokovarov/jump/releases/download/v0.18.0/jump_0.18.0_amd64.deb && \
sudo dpkg -i jump_0.18.0_amd64.deb && \
# RHEL like
# wget https://github.com/gsamokovarov/jump/releases/download/v0.18.0/jump-0.18.0-1.x86_64.rpm
@ -25,11 +25,11 @@ sudo dpkg -i jump_0.18.0_amd64.deb
# Setup pyenv
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \
# Install python
# pyenv install 3.6.4 # throws some error? :/
# Install pip
sudo apt install python-pip && sudo pip install --upgrade pip
sudo apt install python-pip && sudo pip install --upgrade pip && \
sudo install virtualenvwrapper