Skip to content

Instantly share code, notes, and snippets.

@topless
Created September 10, 2019 07:15
Show Gist options
  • Save topless/a6208184ef98eabce933c17f791c3de8 to your computer and use it in GitHub Desktop.
Save topless/a6208184ef98eabce933c17f791c3de8 to your computer and use it in GitHub Desktop.
zshrc
plugins=(
git
z
zsh-syntax-highlighting
zsh-autosuggestions
)
source $ZSH/oh-my-zsh.sh
# User configuration
# Virtualenv Wrapper stuff
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Work
source /usr/local/bin/virtualenvwrapper.sh
export PYENV_VIRTUALENVWRAPPER_PREFER_PYVENV="true"
export FLASK_APP=app.py
export FLASK_DEBUG=1
# Initialize pyenv
eval "$(pyenv init -)"
# Replace git command with hub
eval "$(hub alias -s)"
# Turn off escaping url for virtualenvs to work
unsetopt nomatch
# itermocil autocompletion
compctl -g '~/.itermocil/*(:t:r)' itermocil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment