blob: 313bebc9d8f7540a86b21c43e8c37e345b715f15 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Yes, I have my own zsh setup; ignore system one.
IGNORE_SYSTEM_ZSH=1
export EDITOR=vi
export VISUAL=$EDITOR
# Even if my editor is vi or vim, I do not want
# that at the command line.
bindkey -e
# Set up less.
export LESS="-RSMgi"
export PAGER='less'
if [ -x /usr/bin/lesspipe ]; then
eval $(lesspipe)
fi
# Set COLORTERM for s-lang programs if this is a color terminal
if [ "$TERM" = "xterm" -o "$TERM" = "linux" -o "$TERM" = "rxvt" ]; then
export COLORTERM=y
fi
# Random environment settings.
# LANG Stuff
#export LC_CTYPE=en_NZ.ISO-8859-1
# Don't allow dups in path. Then throw in what I consider is a complete
# path. This results in any other path setting going to the end.
typeset -U path
path=(~/bin /usr/lib/ccache /usr/local/bin /usr/bin /bin /usr/local/sbin /usr/sbin /sbin /usr/games .)
# Shut up ps
export I_WANT_A_BROKEN_PS=1
export EMAIL=mike@ethernal.org
export DEBEMAIL=mjb@debian.org
export DEBFULLNAME='Mike Beattie'
#Set up a history file.
HISTFILE=~/.history
SAVEHIST=1000
HISTSIZE=1000
if [ -f "${HOME}/.zshenv.$(hostname)" ];then
source "${HOME}/.zshenv.$(hostname)"
fi
|