summaryrefslogtreecommitdiff
path: root/etc/parameters
blob: 95d22d4c9850f9460dd76b79d89dca7ffbacbf63 (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
## vim:ft=zsh
## parameters which are only important for interactive shells.
## For application-related parameters, see zshenv

# zsh cache directory
if [[ -d ~/var/cache/zsh ]] {
	ZCACHEDIR=~/var/cache/zsh
} else {
	zrc_info "~/var/cache/zsh does not exist, using ~/.zsh-cache instead"
	mkdir -p ~/.zsh-cache
	ZCACHEDIR=~/.zsh-cache
}

# There's no point in having more history than what can be saved on disk
HISTFILE=$ZCACHEDIR/history
HISTSIZE=50000
SAVEHIST=$HISTSIZE

# how many entries to kep for popd
DIRSTACKSIZE=20

# Use the full terminal size for listings
LISTMAX=0

# be accurate
TIMEFMT='%J (%P)  -  %*E real, %*U user, %*S system'

# completion cache for compinit
compdump=$ZCACHEDIR/compdump

# Add my own executables, if they're not already in the path
[[ $path[1] = $HOME/bin ]] || export PATH=$HOME/bin:$PATH

# Add manuals from pkg to manpath
which manpath &> /dev/null && [[ -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man

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`/"