Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Battleroid/0439686582659d0133d710583a84be1c to your computer and use it in GitHub Desktop.
Save Battleroid/0439686582659d0133d710583a84be1c to your computer and use it in GitHub Desktop.
casey:~/ $ cat .zshenv .zshrc
# zshenv
if [ -d "/usr/local/go" ]; then
export PATH=/usr/local/go/bin:$PATH
fi
if which go &> /dev/null; then
export GOPATH=$(go env GOPATH)
fi
if [ -d "$HOME/.pyenv" ]; then
export PATH="/home/casey/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
fi
# zshrc
source ~/.zgen/zgen.zsh
if ! zgen saved; then
zgen oh-my-zsh
# plugins
zgen oh-my-zsh plugins/git
zgen oh-my-zsh plugins/sudo
# zgen supercrabtree/k
# completions
zgen load zsh-users/zsh-completions src
# theme
zgen oh-my-zsh themes/clean
zgen save
fi
[ -f ~/.zprofile ] && source ~/.zprofile
[ -f ~/.zaliases ] && source ~/.zaliases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment