Skip to content

Instantly share code, notes, and snippets.

@garygsw
Last active September 3, 2022 04:52
Show Gist options
  • Save garygsw/d59529199ec2a288c817a757d5b0bf2c to your computer and use it in GitHub Desktop.
Save garygsw/d59529199ec2a288c817a757d5b0bf2c to your computer and use it in GitHub Desktop.

Install ohmyzsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Copy into .zshrc

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
export VIRTUALENV_PYTHON=/usr/bin/python3
export WORKON_HOME=~/.virtualenvs   # Optional
export PROJECT_HOME=~/Projects      # Optional
source ~/.local/bin/virtualenvwrapper.sh
export PATH=$PATH:~/.local/bin

Add plugins in .zshrc

plugins=(git ssh-agent colored-man-pages colorize pip python zsh-autosuggestions)

Install virtualenv and virtualenvwrapper

pip3 install virtualenv virtualenvwrapper

Add .vimrc

syntax on
colorscheme desert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment