]> Sergey Matveev's repositories - dotfiles.git/blob - zsh/.zshenv
My first LLDB's alias
[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=RXij3M
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/dic
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 path=(~/bin ~/local/bin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin)
58 manpath=(
59     ~/local/share/man
60     /usr/local/lib/perl5/5.26/perl/man
61     /usr/local/lib/perl5/site_perl/man
62     /usr/share/openssl/man
63     /usr/local/share/man
64     /usr/local/man
65     /usr/share/man
66 )
67 export -TU INFOPATH infopath
68 infopath=(~/local/share/info /usr/local/share/info /usr/local/info)
69
70 manpath=(~/src/suckless/tabbed $manpath)
71 path=(~/src/suckless/tabbed $path)
72
73 path=(~/work/goredo $path)
74
75 export -TU PKG_CONFIG_PATH pkgconfigpath
76 pkgconfigpath=(~/local/lib/pkgconfig ~/local/libdata/pkgconfig)
77 # }}}
78
79 # C related {{{
80 export CFLAGS="-I$HOME/local/include -I/usr/local/include"
81 export LDFLAGS="-L$HOME/local/lib -L/usr/local/lib"
82 export -TU LD_LIBRARY_PATH ld_library_path
83 ld_library_path=(~/local/lib)
84 # }}}
85
86 # Go related {{{
87 export GOCACHE=/tmp/go-cache
88 export GOPROXY=off
89 export GOSUMDB=off
90 export GOPATH=$HOME/work/gopath
91 path=($GOPATH/bin ~/work/go/bin $path)
92 # }}}
93
94 # Various {{{
95 export SHELL=/bin/zsh
96 export EDITOR=vim
97 export TZ='Europe/Moscow'
98 export IFCONFIG_FORMAT=inet:cidr,inet6:cidr
99 export SSH_AUTH_SOCK=$HOME/.ssh/agent
100 export MAILDIR=$HOME/mail
101 export DBUS_SESSION_BUS_ADDRESS=disabled:
102 export MYSQL_HISTFILE=/tmp/.mysql_history
103 export REDO_JOBS=0 REDO_NO_SYNC=1
104 export SHARNESS_TEST_SRCDIR=$HOME/local/stow/sharness/share/sharness
105 # }}}