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

# zsh varirables
HISTFILE=~/.histfile
HISTSIZE=50000
SAVEHIST=$HISTSIZE
DIRSTACKSIZE=20
LISTMAX=0

# Paths
fpath=($ZDIR/functions $ZDIR/completions $fpath)
[ "$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/packages/calendar/etc
export HOST
export COLUMNS
export LINES

# others
linux: export LANG=en_US.UTF-8
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`/"