-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
52 lines (37 loc) · 1.31 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
51
52
alias ccat="ccat --bg dark"
export GOPATH="${HOME}/golang"
export BASE_LSCOLORS=ExFxCxDxBxegedabagacad
export HISTCONTROL=ignoredups:erasedups
shopt -s histappend
export EDITOR="vim"
# But i dont like emacs :(
set -o emacs
export PS1="\\[$(tput setab 4)$(tput setaf 1)\\]"'{\w}'"\\[$(tput sgr0)"'$(~/etc/ps1_exitstatus $?)'"$(tput bold)\\]"'\$'"\\[$(tput sgr0)\\] "
export PS2="\\[$(tput setab 4)$(tput setaf 1)\\]"'>'"\\[$(tput sgr0)\\]"
# Personal bin takes high precidence
# Set JAVA_HOME for 1.7 JDK
# export JAVA_HOME="/Library/Java/JavaVirtualMachines/1.7.0_45.jdk/Contents/Home"
# source ~/.git-prompt.sh
export PATH="/usr/local/Homebrew/bin:${PATH}"
export PATH="/usr/local/bin:${PATH}"
export PATH="/usr/local/aliases:${PATH}"
export PATH="/usr/local/sbin:${PATH}"
export PATH="${HOME}/.cargo/bin:${PATH}"
export PATH="${PATH}:${HOME}/golang/bin"
export PATH="${HOME}/bin:${PATH}"
case `uname` in
Darwin)
if [ -f $(brew --prefix)/share/bash-completion/bash_completion ]; then
. $(brew --prefix)/share/bash-completion/bash_completion
fi
export CLICOLOR=1
export LSCOLORS=${BASE_LSCOLORS}
;;
CYGWIN*)
export CLICOLOR=1
export LSCOLORS=${BASE_LSCOLORS}
export DISPLAY=:0.0
;;
esac
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
true