[issue1207] Change search path for sudo completion
Ulrich Dangel
bts at bts.grml.org
Wed Aug 8 04:08:07 CEST 2012
New submission from Ulrich Dangel <mru at grml.org>:
The completion for sudo with grmls zshrc won't extend to the sbin directories even though Debians sudoers file contains
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
I suggest to add zstyle ':completion:*:sudo:*' command-path /usr/local/sbin /usr/local/bin \
/usr/sbin /usr/bin /sbin /bin /usr/X11R6/bin
to Grmls zshrc (the line is copied from the default Debian configuration)
----------
messages: 4441
nosy: ft, mru
priority: wish
status: unread
title: Change search path for sudo completion
topic: grml-etc-core
_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue1207>
_____________________________________
More information about the Bugs-changes
mailing list