24 lines
543 B
Bash
24 lines
543 B
Bash
#default apps
|
|
export EDITOR="vim"
|
|
export PAGER="most"
|
|
# history stuff
|
|
# 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
|
|
# grep options
|
|
export GREP_OPTIONS='--color=auto'
|
|
export GREP_COLOR='1;32'
|
|
# language
|
|
export LC_ALL=en_US.UTF-8
|
|
export LANGUAGE=en_US.UTF-8
|
|
# term
|
|
export TERM=screen-256color
|
|
# Make options
|
|
if [[ -r /proc/cpuinfo ]]; then
|
|
export MAKEOPTS=-j$(($(grep -c '^processor' /proc/cpuinfo) + 1))
|
|
fi
|
|
|