projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a39fe
)
zshrc: activate zsh lookup for all users
author
Frank Terbeck
<ft@grml.org>
Tue, 4 Jan 2011 14:22:04 +0000
(15:22 +0100)
committer
Frank 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
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
43f2608
..
decda2b
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-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)