zshrc: activate zsh lookup for all users
[grml-etc-core.git] / etc / zsh / zshrc
index 43f2608..decda2b 100644 (file)
@@ -3124,6 +3124,9 @@ if [[ -r ~/.important_commands ]] ; then
 fi
 # }}}
 
+# load the lookup subsystem if it's available on the system
+zrcautoload lookupinit && lookupinit
+
 #:grep:marker:for:mika: :-)
 ### non-root (EUID != 0) code below
 ###
@@ -3133,8 +3136,6 @@ if (( GRML_ALWAYS_LOAD_ALL == 0 )) && (( $EUID == 0 )) ; then
     return 0
 fi
 
-zrcautoload lookupinit && lookupinit
-
 # variables {{{
 
 # set terminal property (used e.g. by msgid-chooser)