run as single unit
This commit is contained in:
parent
90366d4edf
commit
4472801ee6
1 changed files with 11 additions and 11 deletions
22
setup-env.sh
22
setup-env.sh
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue