-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bash_profile
47 lines (31 loc) · 995 Bytes
/
.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
alias ll='ls -ltFrh'
alias git_tree='git log --pretty=oneline --decorate --graph'
eval "$(rbenv init -)"
export PYENV_ROOT=/usr/local/var/pyenv
export PATH=$PATH:~/bin:/usr/local/sbin
export WORKON_HOME=$HOME/.virtualenvs
# Need to fix this, sourcing twice kills the shell ><
source `which virtualenvwrapper.sh`
eval "$(pyenv init -)"
export PROJECT_HOME=$HOME/projects
export NVM_DIR="$HOME/.nvm"
. "$(brew --prefix nvm)/nvm.sh"
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
export LESSOPEN="| src-hilite-lesspipe.sh %s"
export LESS=" -R"
#alias grep="grep --color=always"
alias grep="grep --color=auto"
alias ack="ack --color"
man() {
env \
LESS_TERMCAP_mb=$'\e[1;31m' \
LESS_TERMCAP_md=$'\e[1;31m' \
LESS_TERMCAP_me=$'\e[0m' \
LESS_TERMCAP_se=$'\e[0m' \
LESS_TERMCAP_so=$'\e[1;44;33m' \
LESS_TERMCAP_ue=$'\e[0m' \
LESS_TERMCAP_us=$'\e[1;32m' \
man "$@"
}