-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
65 lines (48 loc) · 2.37 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
58
59
60
61
62
63
64
65
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
export PATH="/Users/davens/libraries/Qt5.3.2/5.3/clang_64/bin:$PATH"
#export PATH="/Users/davens/libraries/Qt5.5.1/5.5/clang_64/bin:$PATH"
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
function gvim { /usr/local/bin/mvim -g $*; }
#export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
#export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]mixlr:\[\033[33;1m\]\w\[\033[m\]\$ "
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]mixlr:\[\033[33;1m\]\w\[\033[m\] \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
export CLICOLOR=1
export LSCOLORS=HxFxBxDxCxegedabagacad
export GREP_OPTIONS='--color=always'
export GREP_COLOR='1;35;40'
alias ls='ls -GFh'
alias ll='ls -GFhla'
alias gst='git status'
alias gb='git branch'
alias gc='git checkout'
alias gd='git diff'
alias gp='git apply *.patch'
alias be='bundle exec'
alias cgrep='grep --include=*.cpp --exclude={*moc*,tags,*rcc*} -RnIif /dev/stdin . <<<'
alias qgrep='grep --include=*.qml -RnIif /dev/stdin . <<<'
alias hgrep='grep --include=*.h -RnIif /dev/stdin . <<<'
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
if [ -f /opt/local/etc/profile.d/bash_completion.sh ]; then
. /opt/local/etc/profile.d/bash_completion.sh
fi
if [ -f `brew --prefix`/etc/bash_completion.d/git-completion.bash ]; then
. `brew --prefix`/etc/bash_completion.d/git-completion.bash
fi
export MIXLR_LIBDIR="/Users/davens/build/lib"
launchctl setenv MIXLR_LIBDIR $MIXLR_LIBDIR
export PATH="$HOME/.rbenv/bin:$PATH"
export PATH="$HOME/.rbenv/versions/1.9.3-p551/bin:$PATH"
eval "$(rbenv init -)"
export WMSJAVA_HOME="/Library/WowzaStreamingEngine-4.2.0/java"
export WOWZA_PATH="/Library/WowzaStreamingEngine"
# OPAM configuration
. /Users/davens/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
eval `ssh-agent`
ssh-add ~/.ssh/id_rsa
export GITAWAREPROMPT=~/.bash/git-aware-prompt
source "${GITAWAREPROMPT}/main.sh"
eval $(thefuck --alias)
export PATH=/Users/davens/.opam/system/bin:/Users/davens/.rbenv/shims:/Users/davens/.rbenv/versions/1.9.3-p551/bin:/Users/davens/.rbenv/bin:/Users/davens/libraries/Qt5.3.2/5.3/clang_64/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/davens/.rvm/bin:/Users/davens/.vimpkg/bin