forked from ryankinderman/dotfiles
/
zshrc
71 lines (56 loc) · 2.06 KB
/
zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Path to your oh-my-zsh configuration.
ZSH=$DOTFILES/.oh-my-zsh
#ZSH_CUSTOM=$ZSH/custom
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="robb-broome"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# 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 red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="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)
plugins=(git heroku osx rails ruby vim pow rvm)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
PATH=/usr/local/share/npm/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/usr/X11/bin:/usr/local/pgsql/bin:/Users/robb/.rvm/bin
# this bashrc should have only stuff that applies to this workstation.
PATH=/opt/local/bin:/opt/local/sbin:$PATH
PATH=~/bin:$PATH
PATH=/usr/local/git/bin:$PATH
PATH=/usr/local/mysql/bin:$PATH
PATH=/opt/local/bin:$PATH
PATH=$PATH:/usr/local/pgsql/bin
export PATH
export CLASSPATH=$HOME
export EVENT_NOKQUEUE=1
#export DYLD_LIBRARY_PATH="/usr/local/mysql/bin"
export DOTFILES=$HOME/dotfiles
export LOCAL_RAILS_DEV_ENV=1
#source $DOTFILES/eccrc
#source $DOTFILES/mmhrc
source $DOTFILES/affinityrc
source $DOTFILES/sears-stylerc
#source $DOTFILES/macpythonrc
source $DOTFILES/bashrc
#source $DOTFILES/lonrc
#source $DOTFILES/promptrc
source $DOTFILES/mongotestrc
source ~/.environmentrc
alias rake='noglob rake'
function cdf() {
cd *$1*/
}
if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi
dubig() {
[ -z "$1" ] && echo "usage: dubig sizethreshKB [duargs]" && return
du $2 | awk '{ if ($1 > '$1') { print $0} }'
}