]> Sergey Matveev's repositories - dotfiles.git/blob - zsh/.zshenv
Make views for files without extensions
[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=/tmp/.lesshst
19 export LESSKEY=/tmp/.lesskey
20 export LESS=RWXij3
21 export LESS=${LESS}"Ps?f%f .?m(%i/%m) .%lt-%lb?L/%L. [%bB?B/%B.]?B %pB\%.?x N\:%x.%t"
22 # }}}
23
24 # ls options {{{
25 export CLICOLOR=1
26 export LSCOLORS=BxGxcxdxCxegDxabagacad
27 # }}}
28
29 # Lynx options {{{
30 export WWW_HOME=file:///home/stargrave/.lynx_bookmarks.html
31 export SSL_CERT_FILE=/usr/local/openssl/cert.pem
32 export LYNX_CFG=~/.lynx.cfg
33 # }}}
34
35 # sdcv options {{{
36 export STARDICT_DATA_DIR=$HOME/dic
37 export SDCV_HISTSIZE=0
38 # }}}
39
40 # IRC options {{{
41 export IRCNAME="Sergey Matveev"
42 export IRCNICK="stargrave"
43 # }}}
44
45 # XDG related junk {{{
46 export XDG_CACHE_HOME=/tmp/stargrave-xdg
47 export XDG_CONFIG_HOME=/tmp/stargrave-xdg
48 export XDG_DATA_HOME=/tmp/stargrave-xdg
49 export XDG_RUNTIME_DIR=/tmp/stargrave-xdg
50 # }}}
51
52 # Paths {{{
53 path=(~/bin ~/local/bin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin)
54 manpath=(
55     ~/local/share/man
56     /usr/local/lib/perl5/5.26/perl/man
57     /usr/local/lib/perl5/site_perl/man
58     /usr/share/openssl/man
59     /usr/local/share/man
60     /usr/local/man
61     /usr/share/man
62 )
63 export -TU INFOPATH infopath
64 infopath=(~/local/share/info /usr/local/share/info /usr/local/info)
65
66 manpath=(~/src/suckless/tabbed $manpath)
67 path=(~/src/suckless/tabbed $path)
68
69 path=(~/work/goredo $path)
70
71 export -TU PKG_CONFIG_PATH pkg_config_path
72 pkg_config_path=(~/local/lib/pkgconfig ~/local/libdata/pkgconfig)
73 # }}}
74
75 # Python options {{{
76 export PIP_RESPECT_VIRTUALENV=true
77 export PIP_VIRTUALENV_BASE=~/.virtualenvs
78 export PYTHONDONTWRITEBYTECODE=1
79 # }}}
80
81 # Go related {{{
82 export GOCACHE=/tmp/go-cache
83 export GOPROXY=off
84 export GOSUMDB=off
85 export GOPATH=$HOME/work/gopath
86 path=($GOPATH/bin ~/work/go/bin $path)
87 # }}}
88
89 # C related {{{
90 export CFLAGS="-I$HOME/local/include -I/usr/local/include"
91 export LDFLAGS="-L$HOME/local/lib -L/usr/local/lib"
92 export -TU LD_LIBRARY_PATH ld_library_path
93 ld_library_path=(~/local/lib)
94 # }}}
95
96 # Various {{{
97 export SHELL=/bin/zsh
98 export EDITOR=vim
99 export TZ=Europe/Moscow
100 export IFCONFIG_FORMAT=inet:cidr,inet6:cidr
101 export SSH_AUTH_SOCK=$HOME/.ssh/agent
102 export MAILDIR=$HOME/mail
103 export DBUS_SESSION_BUS_ADDRESS=disabled:
104 export MYSQL_HISTFILE=/tmp/.mysql_history
105 export REDO_JOBS=0 REDO_NO_SYNC=1
106 export SHARNESS_TEST_SRCDIR=$HOME/local/stow/sharness/share/sharness
107 export FZF_DEFAULT_OPTS="--color=16 --info=inline"
108 export AUTOENV_AUTH_FILE=~/.zautoenv-auth
109 # }}}