2012-03-08 17:12:55 +00:00
|
|
|
#default apps
|
|
|
|
export EDITOR="vim"
|
2012-04-03 01:45:05 +00:00
|
|
|
export PAGER="most"
|
2012-06-10 12:58:44 +00:00
|
|
|
# history stuff
|
2012-03-08 17:12:55 +00:00
|
|
|
# number of lines kept in history
|
|
|
|
export HISTSIZE=1000
|
|
|
|
# number of lines saved in the history after logout
|
|
|
|
export SAVEHIST=1000
|
|
|
|
# location of history
|
|
|
|
export HISTFILE=~/.zhistory
|
2012-06-11 13:42:40 +00:00
|
|
|
# language
|
|
|
|
export LC_ALL=en_US.UTF-8
|
2012-06-11 13:43:56 +00:00
|
|
|
export LANGUAGE=en_US.UTF-8
|
2012-10-03 17:32:42 +00:00
|
|
|
# term
|
|
|
|
export TERM=screen-256color
|
2012-06-16 18:30:43 +00:00
|
|
|
# Make options
|
|
|
|
if [[ -r /proc/cpuinfo ]]; then
|
|
|
|
export MAKEOPTS=-j$(($(grep -c '^processor' /proc/cpuinfo) + 1))
|
|
|
|
fi
|
2016-11-08 16:52:01 +00:00
|
|
|
# Pyenv stuff
|
|
|
|
export PYENV_ROOT="$HOME/.pyenv"
|
|
|
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
2016-11-08 17:12:42 +00:00
|
|
|
# unset GREP_OPTIONS
|
2016-11-08 17:14:53 +00:00
|
|
|
alias grep="/bin/grep $GREP_OPTIONS"
|
2016-11-08 17:12:42 +00:00
|
|
|
unset GREP_OPTIONS
|