summaryrefslogtreecommitdiff
path: root/etc/.zshenv
blob: 55c8aaaa8703dfe05cbf315b65ec1729cf3b78da (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
29
30
31
32
33
## vim:ft=zsh

: ${ZDIR:=${HOME}/packages/zsh/etc}
PS4='%b%u%s%k%F{cyan}%N%F{default}:%F{yellow}%D{%H%M-%S}%F{default}:%F{yellow}%i%F{default}│'
fpath=(${ZDIR}/functions ${ZDIR}/completions ${fpath})

# Additional zshenv settings from caretaker
[[ -r ${ZDIR}/../provided/env ]] && source ${ZDIR}/../provided/env

export EDITOR==vim
export MPD_HOST=mpd
export CALENDAR_DIR=${HOME}/stuff

export LESS='--silent --no-init --clear-screen --RAW-CONTROL-CHARS'\
' --quit-if-one-screen --ignore-case --tabs=5'

# Required for various scripts
export HOST
export COLUMNS
export LINES

export DEBFULLNAME='Birte Friesel'
export DEBEMAIL='derf@chaosdorf.de'

export PERLBREW_ROOT=${HOME}/var/perl5/perlbrew

if [[ -n ${commands[lesspipe]} ]] {
	export LESSOPEN='| lesspipe %s'
	export LESSCLOSE='lesspipe %s %s'
}

# local settings, not tracked with git
[[ -r ${ZDIR}/local-env ]] && source ${ZDIR}/local-env