-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_bash_profile
54 lines (42 loc) · 1.65 KB
/
dot_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
# Chef assumes that it owns this file.
# Additions to bash should be placed into /Users/gregoryeinfrank/.bash_profile_includes with a .sh extension
for file in ~/.bash_profile_includes/*.sh; do
[[ -r $file ]] && source $file;
done
if [ -f ~/venmo-devops/venmo_host_aliases ]; then
source ~/venmo-devops/venmo_host_aliases
fi
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
export PATH=/usr/local/bin:$PATH
# Git Aware Prompt exposes git info like current branch name etc
export GITAWAREPROMPT=~/.bash/git-aware-prompt
source $GITAWAREPROMPT/main.sh
export PS1="\w\[$txtcyn\]\$git_branch\[$txtylw\]\$git_dirty\[$txtrst\]\$ "
LSCOLORS=hxfxcxdxbxhghdabagacad
export LSCOLORS
EDITOR="/opt/local/bin/emacs"
export EDITOR
if [ -z "$PROMPT_HOST" ]; then
PROMPT_HOST="\\h"
fi
PS_BLUE="\[\e[34;1m\]"
PS_COLOR_RESET="\[\e[0m\]"
#PS1="\n(${PS_BLUE}\u@${PROMPT_HOST}\[${PS_COLOR_RESET})-(${PS_BLUE}\$(date +%k:%M:%S)${PS_COLOR_RESET})-(\!)\n[${PS_BLUE}\w${PS_COLOR_RESET}] > "
#if [ `uname` = "Darwin" ]; then
# This was from Delano. I don't think I need it...
# alias emacs=/opt/local/bin/emacs
# export PATH=$PATH:/opt/local/bin:/usr/local/mysql/bin
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mysql/lib/
# export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/mysql/lib/
#fi
alias venmo_rebuild_tags="cd ~/working/venmo-devops && find . -name '*.py' | etags --output tags -"
#geinfrank alias prefs
alias e="emacs -nw"
alias cdd="cd ~/venmo-devops"
alias cdp="cd ~/venmo-devops/venmo-platform"
alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin
alias gitdel="perl ~/delete_branch.pl"
git config --global color.diff always