forked from seejohnrun/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
62 lines (43 loc) · 1.34 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
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
money="problems"
autoload -U compinit zrecompile
autoload -U promptinit
promptinit
autoload -U colors && colors
##################################################
source ~/.zsh-git
###################################################
# Stuff for git
parse_git_branch () {
git branch 2> /dev/null | grep "*" | sed -e 's/* \(.*\)/ (\1)/g'
}
# sunburst.vim like colors for prompt
function precmd() {
PROMPT='%F{green}%n%f %F{yellow}${(%):-%1~}%f$(git_super_status) %F{white}%#%f '
}
# Alias vim to vi
alias vim="vi"
# Increase ULIMIT
ulimit -n 1024
# Colors!
export CLICOLOR=1
# i work for brewster
export BREWSTER_USER=zack
# export GREP_OPTIONS='--color=auto -n'
# export GREP_COLOR='0;93'
export TERM=xterm-256color
#amazon setup
export EC2_HOME=~/.ec2
export PATH=$PATH:$EC2_HOME/bin
export EC2_PRIVATE_KEY=pk-5NHGJE2D7FLNL4MEJNPZ6FXWZOMBA4GF.pem
export EC2_CERT=cert-5NHGJE2D7FLNL4MEJNPZ6FXWZOMBA4GF.pem
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home/
#ensure rvm imported
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
if [ -f "$HOME/.bashrc" ]; then
source $HOME/.bashrc
fi
# Setting PATH for JRuby 1.6.7.2
# The orginal version is saved in .bash_profile.jrubysave
PATH="${PATH}:/Library/Frameworks/JRuby.framework/Versions/Current/bin"
export PATH