]>
Commit | Line | Data |
---|---|---|
f7960c69 | 1 | ### path |
2 | # typeset -U makes every array entry unique | |
3 | # /usr/{pkg,local,games} are unix/bsdisms | |
4 | typeset -U path | |
5 | path=({~/,/,/usr/}sbin {~/,/,/usr/}bin /usr/pkg/{s,}bin /usr/X11R{7,6}/bin | |
6 | /usr/local/{s,}bin /usr/games $path) | |
7 | ||
8 | ### posix | |
189288f7 | 9 | export EDITOR=vim |
f7960c69 | 10 | export PAGER=less |
11 | export GREP_OPTIONS=--color=auto | |
12 | export LANG="en_US.UTF-8" | |
13 | export LC_CTYPE="$LANG" | |
14 | ||
15 | ### xdg | |
ac515d99 | 16 | export XDG_CONFIG_HOME=~/etc |
f7960c69 | 17 | export XDG_CONFIG_DIRS=~/.config:/usr/pkg/etc/xdg:/usr/local/etc/xdg:/etc/xdg |
ac515d99 | 18 | export XDG_DATA_HOME=~/share |
f7960c69 | 19 | export XDG_DATA_DIRS=~/.local/share/:/usr/pkg/share/:/usr/local/share/:/usr/share/ |
ac515d99 | 20 | export XDG_CACHE_HOME=~/tmp |
189288f7 | 21 | |
f7960c69 | 22 | ### applications |
29c40e97 | 23 | export DVTM_TERM=rxvt-unicode |
189288f7 | 24 | export PYTHONSTARTUP=~/.pythonrc |
ba63cd01 | 25 | |
f7960c69 | 26 | ### freebsd |
27 | if [[ "$OSTYPE" = "freebsd" ]]; then | |
28 | export CLICOLOR= | |
29 | export LS_COLORS='di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30' | |
30 | fi | |
31 | ||
32 | ### load site-specific | |
ba63cd01 | 33 | if [[ -f ~/.zshenv.local ]]; then |
34 | source ~/.zshenv.local | |
35 | fi |