2 xsource "/etc/default/locale"
4 for var in LANG LC_ALL LC_MESSAGES ; do
5 [[ -n ${(P)var} ]] && export $var
8 xsource "/etc/sysconfig/keyboard"
11 TZ=$(xcat /etc/timezone)
14 check_com -c dircolors && eval $(dircolors -b)
20 export SHELL='/bin/zsh'
23 export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
24 export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
25 export LESS_TERMCAP_me=$'\E[0m' # end mode
26 export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
27 export LESS_TERMCAP_so=$'\E[38;5;246m' # begin standout-mode - info box
28 export LESS_TERMCAP_ue=$'\E[0m' # end underline
29 export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline
32 # does not need export
33 MAILCHECK=30 # mailchecks
34 REPORTTIME=5 # report about cpu-/system-/user-time of command if running longer than 5 seconds
35 watch=(notme root) # watch for everyone but me and root
37 # automatically remove duplicates from these arrays
38 typeset -U path cdpath fpath manpath
39 # adding personnal completion files in fpath
40 fpath=(~/.zsh/completion $fpath)
42 if [ $TERM = "rxvt-unicode-256color" ]; then
43 export TERM=rxvt-unicode
46 #+---------------------------------------+
48 #+---------------------------------------+
52 HISTFILE=$ZSHDIR/history-$h
55 export HISTFILE HISTSIZE SAVEHIST
57 ############ MISC ##################
58 # set terminal property (used e.g. by msgid-chooser)
59 export COLORTERM="yes"
62 if [[ -z "$BROWSER" ]] ; then
63 if [[ -n "$DISPLAY" ]] ; then
65 check_com -c firefox && export BROWSER=firefox
67 #v# If no X11 is running
68 check_com -c w3m && export BROWSER=w3m
72 #m# v QTDIR \kbd{/usr/share/qt[34]}\quad [for non-root only]
73 [[ -d /usr/share/qt3 ]] && export QTDIR=/usr/share/qt3
74 [[ -d /usr/share/qt4 ]] && export QTDIR=/usr/share/qt4
76 # support running 'jikes *.java && jamvm HelloWorld' OOTB:
77 #v# [for non-root only]
78 [[ -f /usr/share/classpath/glibj.zip ]] && export JIKESPATH=/usr/share/classpath/glibj.zip
81 # umask personnal config file
82 # used to set specific umask