mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 05:29:09 -07:00
63 lines
1.5 KiB
Plaintext
Executable File
63 lines
1.5 KiB
Plaintext
Executable File
# Sourced by zshrc as well as bash.
|
|
|
|
umask 027
|
|
ulimit -c unlimited
|
|
|
|
# Paths and preferences
|
|
export PYTHONPATH="$HOME/.python:$PYTHONPATH"
|
|
export GOPATH="$HOME/Projects/Go"
|
|
export PATH="$HOME/bin:/sbin:/usr/sbin:$PATH:$GOPATH/bin"
|
|
export VISUAL=vim
|
|
export EDITOR=vim
|
|
export DEBEMAIL="david@systemoverlord.com"
|
|
export DEBFULLNAME="David Tomaschik"
|
|
export LESS="-MR"
|
|
export QUOTING_STYLE="literal" # Coreutils quotes
|
|
|
|
# Fix gnome-terminal
|
|
if [ "$TERM" == "xterm" -a "$COLORTERM" == "gnome-terminal" ] ; then
|
|
export TERM="xterm-256color"
|
|
fi
|
|
|
|
# For virtualenvwrapper
|
|
export WORKON_HOME=$HOME/.virtualenvs
|
|
export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages'
|
|
|
|
# GPG full key id
|
|
export GPG_ID=7FD58D9A196DCEEEAD671F94F4D7A7915DEA789B
|
|
|
|
# Setup locale
|
|
if test -f /usr/share/i18n/SUPPORTED ; then
|
|
for l in en_US.UTF-8 C ; do
|
|
if grep -q "${l}" /usr/share/i18n/SUPPORTED ; then
|
|
export LC_CTYPE=${l}
|
|
export LC_NUMERIC=${l}
|
|
export LC_TIME=${l}
|
|
export LC_MONETARY=${l}
|
|
export LC_MESSAGES=${l}
|
|
export LC_PAPER=${l}
|
|
export LC_NAME=${l}
|
|
export LC_ADDRESS=${l}
|
|
export LC_TELEPHONE=${l}
|
|
export LC_MEASUREMENT=${l}
|
|
export LC_IDENTIFICATION=${l}
|
|
break
|
|
fi
|
|
done
|
|
else
|
|
export LC_CTYPE=C
|
|
export LC_NUMERIC=C
|
|
export LC_TIME=C
|
|
export LC_MONETARY=C
|
|
export LC_MESSAGES=C
|
|
export LC_PAPER=C
|
|
export LC_NAME=C
|
|
export LC_ADDRESS=C
|
|
export LC_TELEPHONE=C
|
|
export LC_MEASUREMENT=C
|
|
export LC_IDENTIFICATION=C
|
|
fi
|
|
export LC_COLLATE=C
|
|
|
|
if [ -e $HOME/.localenv ] ; then source $HOME/.localenv ; fi
|