diff --git a/.zshrc b/.zshrc new file mode 100644 --- /dev/null +++ b/.zshrc @@ -0,0 +1,53 @@ +# Path to your oh-my-zsh installation. +export ZSH=$HOME/.oh-my-zsh + +ZSH_THEME="mhoward" +ZSH_CUSTOM=~/.oh-my-zsh.custom + +plugins=( common-aliases mercurial git mosh ) + +if [ -f ~/.zshrc.local-pre ]; + source ~/.zshrc.local-pre +fi + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + + + +source $ZSH/oh-my-zsh.sh + +# User configuration + +export PATH="$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" +# export MANPATH="/usr/local/man:$MANPATH" + +# export LANG=en_US.UTF-8 + +export EDITOR='vim' + +typeset -U path + +if [ -d ~/.plenv ]; then + path=( ~/.plenv/bin "$path[@]" ) + eval "$(plenv init - zsh)" +fi + +if [ -d ~/.rbenv ]; then + path=( ~/.rbenv/bin "$path[@]" ) + eval "$(rbenv init - zsh)" +fi + + +if [ -f ~/.zshrc.local ]; then + source ~/.zshrc.local +fi +