summaryrefslogtreecommitdiff
path: root/etc/parameters
blob: e868275d5364e992331fb50c2335106006847f39 (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
34
35
36
37
38
## vim:ft=zsh

# zsh parameters
HISTFILE=~/.histfile
HISTSIZE=50000
SAVEHIST=$HISTSIZE
DIRSTACKSIZE=20
LISTMAX=0
TIMEFMT='%J (%P)  -  %*E real, %*U user, %*S system'

# zshrc parameters
compdump=~/var/cache/zsh/compdump
typeset -A hosts
hosts=(
	kraftwerk  ''
	saviour    ''
	kappa      ':server:'
	nemesis    ''
	aneurysm   ':server:'
	sievert    ''
)

# Paths
[[ $path[1] = $HOME/bin ]] || export PATH=$HOME/bin:$PATH
linux: [[ -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man

# Used by other programs
export EDITOR==vim
export MPD_HOST=saviour
export CALENDAR_DIR=$HOME/stuff
export HOST
export COLUMNS
export LINES
if [[ -x /usr/bin/lesspipe ]] {
	export LESSOPEN='| /usr/bin/lesspipe %s'
	export LESSCLOSE='/usr/bin/lesspipe %s %s'
}
openbsd: export PKG_PATH="ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/`machine -a`/:ftp://openbsd.ftp.fu-berlin.de/pub/OpenBSD/`uname -r`/packages/`machine -a`/"