forked from seejohnrun/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
executable file
·57 lines (42 loc) · 1.24 KB
/
.bash_profile
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
# 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'
# ps1 with git
GIT_COMPLETION_PATH=/etc/bash_completion.d/git
if [ -f $GIT_COMPLETION_PATH ]; then
. $GIT_COMPLETION_PATH
GIT_PS1_SHOWDIRTYSTATE=true # */+ for dirty
GIT_PS1_SHOWSTASHSTATE=true # $ for stashes
GIT_PS1_SHOWUNTRACKEDFILES=true # % for untracked
fi
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
else
echo "bash_completion file not found."
fi
# Give some nice prompt, with git inside of it
export PS1="\033[32mzack \e[0;33m\W\e[0;91m\$(__git_ps1 ' (%s)')\e[0;96m \$\e[0m "
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/
#add colors
export CLICOLOR=1
# {{{
# Node Completion - Auto-generated, do not touch.
shopt -s progcomp
for f in $(command ls ~/.node-completion); do
f="$HOME/.node-completion/$f"
test -f "$f" && . "$f"
done
# }}}