34f1d774ec8e42d62bb8641952a026d2e721b730
[dotfiles.git] / zsh / .zshenv
1 # vim: foldmethod=marker:foldlevel=0
2
3 # History {{{
4 HISTFILE=~/secure/.history
5 HISTSIZE=10240
6 SAVEHIST=10240
7 # }}}
8
9 # Terminal {{{
10 export COLORFGBG="default;default;0"
11 export COLORTERM="xterm-256color"
12 [ "$TERM" = "screen-256color" ] || TERM=xterm-256color
13 export TERM
14 # }}}
15
16 # Less options {{{
17 export PAGER=less
18 export LESSHISTFILE=-
19 export LESS=RXi
20 # }}}
21
22 # ls options {{{
23 export CLICOLOR=1
24 export LSCOLORS="BxGxcxdxCxegDxabagacad"
25 # }}}
26
27 # Lynx options {{{
28 export WWW_HOME=file:///home/stargrave/.lynx_bookmarks.html
29 export SSL_CERT_FILE=/usr/local/openssl/cert.pem
30 export LYNX_CFG=~/.lynx.cfg
31 # }}}
32
33 # sdcv options {{{
34 export STARDICT_DATA_DIR=$HOME
35 export SDCV_HISTSIZE=0
36 # }}}
37
38 # IRC options {{{
39 export IRCNAME="Sergey Matveev"
40 export IRCNICK="stargrave"
41 # }}}
42
43 # Python options {{{
44 export PIP_RESPECT_VIRTUALENV=true
45 export PIP_VIRTUALENV_BASE=~/.virtualenvs
46 export PYTHONDONTWRITEBYTECODE=1
47 # }}}
48
49 # XDG related junk {{{
50 export XDG_CACHE_HOME=/tmp/stargrave-xdg
51 export XDG_CONFIG_HOME=/tmp/stargrave-xdg
52 export XDG_DATA_HOME=/tmp/stargrave-xdg
53 export XDG_RUNTIME_DIR=/tmp/stargrave-xdg
54 # }}}
55
56 # Paths {{{
57 export CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
58
59 export PATH=$PATH:$HOME/bin:/sbin:/usr/sbin
60
61 export MANPATH=/usr/share/man
62 export MANPATH=/usr/local/man:$MANPATH
63 export MANPATH=/usr/local/share/man:$MANPATH
64 export MANPATH=/usr/share/openssl/man:$MANPATH
65 export MANPATH=/usr/local/lib/perl5/site_perl/man:$MANPATH
66 export MANPATH=/usr/local/lib/perl5/5.26/perl/man:$MANPATH
67
68 export PATH=$HOME/git/bin:$PATH
69 export MANPATH=$HOME/git/share/man:$MANPATH
70
71 # export PATH=$HOME/postgresql/bin:$PATH
72 # export MANPATH=$HOME/postgresql/share/man:$MANPATH
73 # [ -e ~/postgresql/lib/libpq.so.5 ] && export LD_PRELOAD=$HOME/postgresql/lib/libpq.so.5
74
75 # export PATH=$HOME/texlive/2017/bin/amd64-freebsd:$PATH
76 # export INFOPATH=/usr/local/share/info:$HOME/texlive/2017/texmf-dist/doc/info:$INFOPATH
77 # export MANPATH=$HOME/texlive/2017/texmf-dist/doc/man:$MANPATH
78 # }}}
79
80 # Go related {{{
81 export PATH=$HOME/work/go/bin:$PATH
82 export GOCACHE=/tmp/go-cache
83 export GOPROXY=direct
84 export GOSUMDB=off
85 export GOPATH=$HOME/work/gopath
86 export PATH=$HOME/work/gopath/bin:$PATH
87 # }}}
88
89 # Various {{{
90 export SHELL=/bin/zsh
91 export EDITOR=vim
92 export TZ='Europe/Moscow'
93 export IFCONFIG_FORMAT=inet:cidr,inet6:cidr
94 export SSH_AUTH_SOCK=$HOME/.ssh/agent
95 export MAILDIR=$HOME/mail
96 # }}}