-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc
50 lines (42 loc) · 1.44 KB
/
bashrc
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
WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
source ~/.git_completion.sh
export PATH="/usr/local/bin:$PATH:$M2_HOME/bin:/usr/local/sbin:/usr/local/share/npm/bin"
export PYTHONSTARTUP=$HOME/.pythonrc
export RISK_DIR=/Volume/eb_home/work/risk
export RISK_CONFIG=settings.personal
export EB_VM_MEMSIZE="4096"
CLICOLOR=1
#sets up the color scheme for list export
LSCOLORS=gxfxcxdxbxegedabagacad
#enables color for iTerm
export TERM=xterm-256color
#sets up proper alias commands when called
alias ls='ls -G'
alias ll='ls -hl'
color_prompt=yes
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
opened() {
for file in `git status -s | cut -d" " -f3`; do $* $file; done
}
alias sl="ls"
alias vim="mvim -v"
alias pr="post-review -o --guess-description --guess-summary"
export EB_HOME="/Volumes/eb_home/work/eventbritecore/"
function vg() {
if [ $1 ]
then
pushd $EB_HOME/django/scripts/vagrant/vagrant_1.4/;
vagrant $@;
popd;
else
pushd $EB_HOME;
fi
}
alias dj="cd /Volumes/eb_home/work/eventbritecore"
alias mandoline_cover="nosetests --cover-html --with-coverage --cover-package=load_data,process_data,transform_data,helpers,constants,cleaner"
alias djrisk="cd /Volumes/eb_home/work/risk"
function _update_ps1() {
export PS1="$(/usr/bin/python -S ~/powerline-shell/powerline-shell.py $? 2> /dev/null)"
}
#export PROMPT_COMMAND="_update_ps1"