]>
Commit | Line | Data |
---|---|---|
ff1a2414 | 1 | ### path |
ff1a2414 | 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 | |
1b8a4102 | 8 | export EDITOR=vim |
ff1a2414 | 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 | |
452d22eb | 15 | export XDG_CONFIG_HOME=~/etc |
ff1a2414 | 16 | export XDG_CONFIG_DIRS=~/.config:/usr/pkg/etc/xdg:/usr/local/etc/xdg:/etc/xdg |
452d22eb | 17 | export XDG_DATA_HOME=~/share |
8720834f | 18 | export XDG_DATA_DIRS=~/.local/share:/usr/pkg/share:/usr/local/share:/usr/share |
452d22eb | 19 | export XDG_CACHE_HOME=~/tmp |
1b8a4102 | 20 | |
ff1a2414 | 21 | ### applications |
1b8a4102 | 22 | export PYTHONSTARTUP=~/.pythonrc |
d877aef2 | 23 | |
ff1a2414 | 24 | ### freebsd |
8720834f | 25 | if [[ "$OSTYPE" =~ "^freebsd" ]]; then |
ff1a2414 | 26 | export CLICOLOR= |
27 | 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' | |
28 | fi | |
29 | ||
30 | ### load site-specific | |
d877aef2 | 31 | if [[ -f ~/.zshenv.local ]]; then |
32 | source ~/.zshenv.local | |
33 | fi |