aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S20_environment
blob: 8f58c645555a2c77f1f8e194f24af35374b291e7 (plain) (blame)
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
if [ x"$HOME" = x ] ; then
    export HOME=$(cd ~ ; pwd)
fi
if [ x"$HOSTNAME" = x ] ; then
    export HOSTNAME=$(/bin/hostname)
fi

path=(~/bin $path)

export SHELL=/bin/zsh

export MANWIDTH=80
export EDITOR=vim
export VISUAL=vim
export LESS=FRSX

# this make man pages look nicer
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'


# vim: et ft=zsh :