]> git.r.bdr.sh - rbdr/dotfiles/blame - zshrc
Updates w/new configs
[rbdr/dotfiles] / zshrc
CommitLineData
9041bd93
BB
1# Path to your oh-my-zsh configuration.
2ZSH=$HOME/.oh-my-zsh
3
4# Set name of the theme to load.
5# Look in ~/.oh-my-zsh/themes/
6# Optionally, if you set this to "random", it'll load a random theme each
7# time that oh-my-zsh is loaded.
8export ZSH_THEME="ben-prose"
9
10# Set to this to use case-sensitive completion
11# CASE_SENSITIVE="true"
12
13# Comment this out to disable weekly auto-update checks
14# DISABLE_AUTO_UPDATE="true"
15
16# Uncomment following line if you want to disable colors in ls
17# DISABLE_LS_COLORS="true"
18
19# Uncomment following line if you want to disable autosetting terminal title.
64bb1bce 20DISABLE_AUTO_TITLE="true"
9041bd93
BB
21
22# Uncomment following line if you want disable red dots displayed while waiting for completion
23# DISABLE_COMPLETION_WAITING_DOTS="true"
24
25# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
26# Example format: plugins=(rails git textmate ruby lighthouse)
6c396295 27plugins=(git brew bundler cap gem osx rails3 rvm dircycle command-coloring npm)
9041bd93
BB
28
29source $ZSH/oh-my-zsh.sh
30
31#
32# Some Custom things saved from my bash profile
33#
34
35export TERM=screen-256color
36export JAVA_HOME=$(/usr/libexec/java_home)
e970b41c 37export PATH=/usr/local/share/npm/bin:/Users/benbeltran/Projects/nitrogen/bin:/usr/local/bin:/usr/local/sbin:$PATH
9041bd93 38export NODE_PATH=/usr/local/lib/node_modules:$NODE_PATH
321ecaca 39export PYTONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
ee6d2b11 40export PS1="$PS1"'$([ -n "$TMUX" ] && tmux setenv TMUXPWD_$(tmux display -p "#I_#P") "$PWD")'
321ecaca
BB
41
42#Editor.
43export EDITOR="vim"
44export VISUAL="vim"
9041bd93
BB
45
46#display fortune when I start
47echo -e "\033[30m"
48/usr/local/bin/fortune
49echo -e "\033[m"
50
51#some aliases.
52alias dwarffortress="/Applications/Dwarf\ Fortress/df"
53alias ls="ls -FG"
54alias rspec="rspec --color"
93da0d62 55alias nitro="nitrogen.js"
ac89930a
BB
56alias agjs="ag -G \".*\\.js\""
57alias agrb="ag -G \".*\\.js\""
58alias agcss="ag -G \".*\\.css\""
59alias start-occipital="node occipital_server -c /etc/occipital/configuration.json -r -r /Users/benbeltran/Projects/nitrogen/repository_server"
60alias spawn-server="python -m SimpleHTTPServer"
61alias ta="tmux attach -t "
62
63#Tmuxinator and RVM scripts
9041bd93 64[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
22d615d8 65[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator
9041bd93 66
64bb1bce 67bindkey -v
6c396295 68bindkey '^R' history-incremental-pattern-search-backward
64bb1bce 69
93da0d62
BB
70ggb() {
71 git grep -n $1 | while IFS=: read i j k; do git blame -L $j,$j $i | cat; done
72}
73
9041bd93
BB
74#
75# End of the custom things from my bash profile.
76# There's probably a more "zsh-ish" way of doing these, but I have no time.
77#
78
ac89930a
BB
79# The python stuff.
80export WORKON_HOME=$HOME/.virtualenvs
81export PROJECT_HOME=$HOME/Projects
82source /usr/local/bin/virtualenvwrapper.sh
83
9041bd93 84# Customize to your needs...