summaryrefslogtreecommitdiff
path: root/etc/env
blob: dda7cfd2aa44ac34d3dd4d7a68da59063c817d06 (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
## vim:ft=zsh

ZDIR=$HOME/packages/zsh/etc
PS4='%{'$'\e[0;36m''%}%N%{'$'\e[0m''%}:%{'$'\e[0;33m''%}%i%{'$'\e[0m''%}│'
fpath=($ZDIR/functions $ZDIR/completions $fpath)

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

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

export EDITOR==vim
export MPD_HOST=saviour
export CALENDAR_DIR=$HOME/stuff

# Required for various scripts
export HOST
export COLUMNS
export LINES
if [[ -x /usr/bin/lesspipe ]] {
	export LESSOPEN='| /usr/bin/lesspipe %s'
	export LESSCLOSE='/usr/bin/lesspipe %s %s'
}