summaryrefslogtreecommitdiff
path: root/.zshenv
blob: 10547665cd32ee66497f9112d962b1ab8ee4a305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
typeset -U path fpath

fpath=(~/.zsh/functions $fpath)

# load all things in there
autoload ${fpath[1]}/*(:t)

path=(
    # general binaries
    ~/bin
    # node stuff
    ~/.node/bin
    # rest
    $path)

# other variables
_kw="~amd64"

if [[ $(</proc/sys/kernel/osrelease) =~ 'Microsoft$' ]]; then
    _IS_WINDOWS=1
    umask 022
fi

# exports
export PASSWORD_STORE_CLIP_TIME=20
export ECHANGELOG_USER="René Neumann (Necoro) <gentoo@necoro.eu>"
export EDITOR=vim
export GTK2_RC_FILES="/home/necoro/.gtkrc-2.0"