]>
Commit | Line | Data |
---|---|---|
1 | ### path | |
2 | # /usr/{pkg,local,games} are unix/bsdisms | |
3 | typeset -U path | |
4 | path=({~/,/,/usr/}sbin {~/,/,/usr/}bin /usr/pkg/{s,}bin /usr/X11R{7,6}/bin | |
5 | /usr/local/{s,}bin /usr/games $path) | |
6 | ||
7 | ### posix | |
8 | export EDITOR=vim | |
9 | export PAGER=less | |
10 | export GREP_OPTIONS=--color=auto | |
11 | export LANG="en_US.UTF-8" | |
12 | export LC_CTYPE="$LANG" | |
13 | ||
14 | ### xdg | |
15 | export XDG_CONFIG_HOME=~/etc | |
16 | export XDG_CONFIG_DIRS=~/.config:/usr/pkg/etc/xdg:/usr/local/etc/xdg:/etc/xdg | |
17 | export XDG_DATA_HOME=~/share | |
18 | export XDG_DATA_DIRS=~/.local/share:/usr/pkg/share:/usr/local/share:/usr/share | |
19 | export XDG_CACHE_HOME=~/tmp | |
20 | export XDG_RUNTIME_DIR=~/tmp | |
21 | ||
22 | ### applications | |
23 | export PYTHONSTARTUP=~/.pythonrc | |
24 | ||
25 | ### load site-specific | |
26 | if [[ -f ~/.zshenv.local ]] { | |
27 | source ~/.zshenv.local | |
28 | } |