-
Notifications
You must be signed in to change notification settings - Fork 0
/
exports
58 lines (43 loc) · 1.16 KB
/
exports
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
# vim:ft=sh
# Make vim the default editor
export EDITOR="vim"
export VISUAL=vim
# Larger bash history (allow 32³ entries; default is 500)
export HISTSIZE=327680
export HISTFILESIZE=$HISTSIZE
export HISTCONTROL=ignoredups
# Make some commands not show up in history
export HISTIGNORE="ls:cd:cd -:pwd:exit:date:* --help"
# Prefer US English and use UTF-8
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
# Highlight section titles in manual pages
export LESS_TERMCAP_md="$ORANGE"
# Don’t clear the screen after quitting a manual page
export MANPAGER="less -X"
# Always enable colored `grep` output
export GREP_OPTIONS='--color=auto'
# Maven Options
export MAVEN_HOME=/opt/java/maven/current
export ANT_HOME=/opt/java/ant/current
export NVM_DIR="/opt/nvm"
# Get operating system
platform='unknown'
case "$(uname -s)" in
Darwin)
platform='darwin'
;;
Linux)
platform='linux'
;;
CYGWIN*|MINGW32*|MSYS*)
platform='windows'
;;
*)
platform='unknown'
;;
esac
export PATH=$PATH:$MAVEN_HOME/bin:$ANT_HOME/bin
if [[ $platform == 'darwin' ]]; then
export PATH=$PATH:/usr/local/sbin:~/Library/Ruby/Gems/1.8/bin:/opt/ImageMagick/bin
fi