zshrc: activate zsh lookup for all users
authorFrank Terbeck <ft@grml.org>
Tue, 4 Jan 2011 14:22:04 +0000 (15:22 +0100)
committerFrank Terbeck <ft@grml.org>
Tue, 4 Jan 2011 14:22:04 +0000 (15:22 +0100)
Signed-off-by: Frank Terbeck <ft@grml.org>
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)