-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_exports
45 lines (33 loc) · 977 Bytes
/
.bash_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
# Default editor
export EDITOR="emacs -nw -q"
# History settings file size
export HISTSIZE=32768;
export HISTFILESIZE=$HISTSIZE;
export HISTCONTROL=ignorespace:ignoredups;
history() {
_bash_history_sync
builtin history "$@"
}
_bash_history_sync() {
builtin history -a
HISTFILESIZE=$HISTSIZE
builtin history -c
builtin history -r
}
PROMPT_COMMAND=_bash_history_sync
# 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";
# Don’t clear the screen after quitting a manual page
export MANPAGER="less -X";
### THIS MACHINE SPECIFIC STUFF ####
export M2=~/.m2/repository
export WORKON_HOME=~/Envs
#### PATH ####
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
export PATH=$PATH:/usr/local/opt/go/libexec/bin
export PATH=$PATH:/usr/local/share/npm/bin
export PATH=$PATH:$GOPATH/bin
export LD_LIBRARY_PATH=`pwd`