return 0
}
+# this allows us to stay in sync with grml's zshrc and put own
+# modifications in ~/.zshrc.local
+zrclocal() {
+ xsource "${HOME}/.zshrc.local"
+ return 0
+}
+
#}}}
# locale setup {{{
'....' '../../..'
'BG' '& exit'
'C' '| wc -l'
- 'G' '|& grep --color=auto'
+ 'G' '|& grep --color=auto '
'H' '| head'
'Hl' ' --help |& less -r' #d (Display help in pager)
'L' '| less'
setopt nonomatch # try to avoid the 'zsh: no matches found...'
setopt nobeep # avoid "beep"ing
setopt pushd_ignore_dups # don't push the same dir twice.
+setopt noglobdots # * shouldn't match dotfiles. ever.
MAILCHECK=30 # mailchecks
REPORTTIME=5 # report about cpu-/system-/user-time of command if running longer than 5 seconds
### non-root (EUID != 0) code below
###
-(( GRML_ALWAYS_LOAD_ALL == 0 )) && (( $EUID == 0 )) && return 0
+if (( GRML_ALWAYS_LOAD_ALL == 0 )) && (( $EUID == 0 )) ; then
+ zrclocal
+ return 0
+fi
+
# variables {{{
#}}}
-# finally source a local zshrc {{{
-
-# this allows us to stay in sync with grml's zshrc and put own
-# modifications in ~/.zshrc.local
-
-xsource "${HOME}/.zshrc.local"
-
-# }}}
+zrclocal
## genrefcard.pl settings {{{