2014-04-09 14:29:07 -06:00
|
|
|
|
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
|
|
|
|
|
export TERM=gnome-256color
|
|
|
|
|
elif infocmp xterm-256color >/dev/null 2>&1; then
|
|
|
|
|
export TERM=xterm-256color
|
|
|
|
|
fi
|
2013-03-17 19:06:49 -06:00
|
|
|
|
|
2011-09-05 12:08:58 -06:00
|
|
|
|
# Larger bash history (allow 32³ entries; default is 500)
|
|
|
|
|
export HISTSIZE=32768
|
2014-12-15 18:20:59 -07:00
|
|
|
|
export HISTFILESIZE=10000000
|
2011-09-05 12:19:31 -06:00
|
|
|
|
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"
|
|
|
|
|
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
|
2014-04-08 06:50:21 -06:00
|
|
|
|
export MANPAGER="less -X"
|
2014-10-28 03:48:51 -06:00
|
|
|
|
|
|
|
|
|
dircolors_file="$HOME/.dircolors"
|
|
|
|
|
|
2015-01-03 15:10:17 -07:00
|
|
|
|
[ ! -z "$SHELL" ] && test -r $dircolors_files && eval "$(dircolors $dircolors_file)" && eval $(dircolors)
|