dotfiles/zshrc

87 lines
1.9 KiB
Bash
Raw Normal View History

2013-12-28 17:32:06 +00:00
ZSH=$HOME/.oh-my-zsh
ZSH_THEME=robbyrussell
CASE_SENSITIVE="true"
# Comment this out to disable bi-weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# Uncomment to change how often before auto-updates occur? (in days)
export UPDATE_ZSH_DAYS=3
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want to disable command autocorrection
DISABLE_CORRECTION="true"
# Uncomment following line if you want red dots to be displayed while waiting
# for completion
COMPLETION_WAITING_DOTS="true"
# Uncomment 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"
plugins=(
2014-02-16 00:53:48 +00:00
git
2013-12-28 17:32:06 +00:00
ruby
vi-mode
autoenv
bundler
golang
rbenv
)
source $ZSH/oh-my-zsh.sh
unsetopt correct_all
2013-12-28 17:49:14 +00:00
bindkey '^R' history-incremental-search-backward
2013-12-28 17:32:06 +00:00
path=(
$HOME/bin
2014-09-25 03:42:16 +00:00
$HOME/.goenv/bin
$HOME/gopath/bin
2013-12-28 17:32:06 +00:00
$HOME/.rbenv/bin
$HOME/.rbenv/shims
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
)
2014-09-25 03:42:16 +00:00
eval "$(goenv init -)"
export GOPATH="$HOME/gopath"
2014-10-06 18:34:11 +00:00
CDPATH="$HOME/workspace:$HOME/src:$HOME/Development/src:$HOME/repos"
2014-09-25 03:42:16 +00:00
for prefix in github.com code.google.com/p ; do
CDPATH="$HOME/gopath/src/$prefix:$CDPATH"
done
2013-12-28 17:32:06 +00:00
source ~/.bash_aliases
function dump-ssh-agent() {
env | awk '/SSH/ {
sub(/=/, "=\"", $1)
sub(/$/, "\"", $1)
print "export " $1
}' | tee ~/.ssh/agent.out
}
function load-ssh-agent() {
source ~/.ssh/agent.out
}
2014-02-08 23:44:04 +00:00
2014-10-06 19:24:23 +00:00
[[ -e ~/.zshenv ]] && source ~/.zshenv
2014-02-08 23:44:04 +00:00
# added by travis gem
[[ -f ~/.travis/travis.sh ]] && source ~/.travis/travis.sh