dotfiles/home/.zshrc

71 lines
1.8 KiB
Bash
Raw Normal View History

2011-02-27 16:28:22 -05:00
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set to the name theme to load.
# Look in ~/.oh-my-zsh/themes/
export ZSH_THEME="walkah"
# My custom directory
export ZSH_CUSTOM=$HOME/.zsh/custom
2011-02-27 16:28:22 -05:00
# Set to this to use case-sensitive completion
# export CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# export DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# export DISABLE_LS_COLORS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
2018-06-27 20:16:00 -04:00
plugins=(autojump aws extract command-not-found tmux tmuxinator git github git-flow ssh-agent golang vagrant knife docker docker-compose mix mix-fast)
2011-02-27 16:28:22 -05:00
2017-03-29 11:14:26 -04:00
# ruby
plugins=($plugins ruby gem rbenv rails bundler heroku)
2017-03-29 15:59:37 -04:00
export RBENV_ROOT=$HOME/.rbenv
2017-03-29 11:14:26 -04:00
# node
2017-04-10 18:15:22 -04:00
plugins=($plugins nodenv npm yarn)
export NODENV_ROOT=$HOME/.nodenv
2017-03-29 11:14:26 -04:00
# python
plugins=($plugins pyenv pip)
2017-04-10 18:15:22 -04:00
export PYENV_ROOT=$HOME/.pyenv
2017-03-29 11:14:26 -04:00
# php / drupal
plugins=($plugins drush composer)
# Platform specific settings
2015-12-28 18:42:28 -05:00
case "$OSTYPE" in
darwin*)
plugins=($plugins brew brew-cask osx)
;;
linux*)
plugins=($plugins deb)
;;
esac
2014-07-17 18:35:41 -04:00
UNBUNDLED_COMMANDS=(knife)
# OH MY ZSH!
2011-02-27 16:28:22 -05:00
source $ZSH/oh-my-zsh.sh
2014-09-02 18:02:11 -04:00
# AWS CLI
if [ -f /usr/local/bin/aws_zsh_completer.sh ]; then
source /usr/local/bin/aws_zsh_completer.sh
fi
2017-03-29 00:24:37 -04:00
# gcloud
2016-10-03 09:15:56 -04:00
if [ -d /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk ]; then
source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc'
source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc'
2017-03-29 00:24:37 -04:00
source <(kubectl completion zsh)
2016-10-03 09:15:56 -04:00
fi
if [ $TERM = "screen" ]; then
export DISABLE_AUTO_TITLE="true"
2015-12-28 18:42:28 -05:00
fi
2013-07-25 19:19:59 -04:00
export EDITOR="vim"
export LSCOLORS="ExGxFxdxCxDxDxhbadExEx"