add shell setup
This commit is contained in:
parent
0af3ab0270
commit
90366d4edf
2 changed files with 35 additions and 1 deletions
35
setup-env.sh
Normal file
35
setup-env.sh
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
#!/bin/bash
|
||||
|
||||
# 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 -)"
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# RHEL like
|
||||
# wget https://github.com/gsamokovarov/jump/releases/download/v0.18.0/jump-0.18.0-1.x86_64.rpm
|
||||
# sudo rpm -i jump-0.18.0-1.x86_64.rpm
|
||||
# Setup vim
|
||||
|
||||
|
||||
# Setup 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 install virtualenvwrapper
|
||||
|
||||
|
|
@ -10,7 +10,6 @@ rm /usr/share/vim/vimrc
|
|||
wget https://raw.githubusercontent.com/ViktorBarzin/dot_files/master/.vimrc -O ~/.vimrc;
|
||||
# mkdir -p ~/.vim/colors && cd ~/.vim/colors;
|
||||
# wget -O wombat256mod.vim http://www.vim.org/scripts/download_script.php?src_id=13400;
|
||||
git clone https://github.com/ViktorBarzin/dot_files.git
|
||||
rm -rf ~/.vim
|
||||
mv dot_files/vim-plugins ~/.vim
|
||||
rm -rf dot_files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue