-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bash_profile
31 lines (23 loc) · 975 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
# FOR LOGIN SHELLS
export PS1="\u@\h:\w \\$ "
export LESS="--ignore-case --RAW-CONTROL-CHARS"
export LESSOPEN='|highlight %s'
export HIGHLIGHT_OPTIONS='--out-format xterm256 --style edit-xcode'
# use colors
export CLICOLOR=1
# jsc is installed on OS X, but not in $PATH
if [[ "$OSTYPE" == "darwin"* ]]; then
export PATH=$PATH:/System/Library/Frameworks/JavaScriptCore.framework/Versions/Current/Resources
fi
# launch services has some important commands (lsregister!)
if [[ "$OSTYPE" == "darwin"* ]]; then
export PATH=$PATH:/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support
fi
# some libraries get upset if you don't make this explicit
export LC_ALL=en_US.UTF-8
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
export PATH="/usr/local/opt/ruby/bin:$PATH"
# disable control-D
set -o ignoreeof
# use GNU utils (like grep) first, if present (GNU grep is a lot faster!)
PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"