BTS

Issue1207

Title Change search path for sudo completion
Priority wish Status resolved
Superseder Nosy List ft, mru
Assigned To Topics grml-etc-core

Created on 2012-08-08.02:08:07 by mru, last changed 2012-09-10.07:17:20 by mika.

Messages
msg4456 (view) Author: mika Date: 2012-09-10.07:17:19
We believe that your issue has been closed by the upload of
Version 0.7.0 of grml-etc-core from Michael Prokop <mika@grml.org>.
The explanation is attached below

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 10 Sep 2012 09:09:16 +0200
Source: grml-etc-core
Binary: grml-etc-core
Architecture: source all
Version: 0.7.0
Distribution: grml-testing
Urgency: low
Maintainer: Michael Prokop <mika@grml.org>
Changed-By: Michael Prokop <mika@grml.org>
Description: 
 grml-etc-core - core etcetera files for the grml system
Changes: 
 grml-etc-core (0.7.0) grml-testing; urgency=low
 .
   [ Michael Prokop ]
   * [ea65fdc] zshrc: Enable CLICOLOR on FreeBSD. Thanks to
     Christian Hofstaedtler
 .
   [ Bernhard Tittelbach ]
   * [174a091] zshrc: make simple-extract also work with uris that end in
     e.g. format=zip
   * [9cef3a9] zsh: fix typo grml functions autoload
   * tmux related changes:
     - [895e6d6] new statusline, space and backspace enabled for
       window switching
     - [5da798c] more space, session name
     - [f4ad46f] mouse-select-pane off to enable terminal window
       copy&paste
     - [046d45b] better user@host:session scheme
     - [646f73f] date and time, and commented out alternatives
     - [7eaf7d8] make copy&pase mode useable
     - [ee6fa75] kill-session for gebi
     - [c6c2094] kill-pane instead of kill-window
     - [3309823] join-pane
 .
   [ Frank Terbeck ]
   * [76ee162] Only define vim() if vim is available
   * [c67b327] Do not disable zstyle if compsys did not load
   * [78d890c] Specify a command search path for sudo completion
     [Closes: issue1207]
   * [8564319] Workaround incompatibilities with the keyboard setup of
     some  vendors
Checksums-Sha1: 
 719a6e2c493fff4721f972192d6697be6601183e 945 grml-etc-core_0.7.0.dsc
 846d60d75832650ad5c9aa66a38b060c522ec62e 142063 grml-etc-core_0.7.0.tar.gz
 f3a3ffc955978afb72e0f2eec53b3bb355c00eae 144420 grml-etc-core_0.7.0_all.deb
Checksums-Sha256: 
 da0dc0b3e184caeceb54459bf796ba1333275716c076ef639835559fcdfb9f42 945 grml-etc-core_0.7.0.dsc
 525da185b6bf1cc616162bbdb50e63d88687edeb83277a529ffd927f9f80c4f3 142063 grml-etc-core_0.7.0.tar.gz
 0c364c3c70aec8a034ff00e4bdad5bff82e2b68a29f930f85bdfe83be4f0c014 144420 grml-etc-core_0.7.0_all.deb
Files: 
 36680872e08f73e84cf95b8ca200def5 945 grml optional grml-etc-core_0.7.0.dsc
 fb81a2bff179d687ef089ab24f3dbea3 142063 grml optional grml-etc-core_0.7.0.tar.gz
 9d1e14b7e0acd8319218b24e64ad028e 144420 grml optional grml-etc-core_0.7.0_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlBNkycACgkQ2N9T+zficuh+dgCfYWjWeq528Kh+6YaACJblhsDl
koQAni4/dAxCDpghdubdj1/66QxdaBaq
=T3On
-----END PGP SIGNATURE-----
msg4446 (view) Author: evgeni Date: 2012-08-16.20:16:55
https://github.com/grml/grml-etc-
core/commit/78d890c776564875326d0ab41e8ed80ee1c6c0ab
msg4441 (view) Author: mru Date: 2012-08-08.02:08:06
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)
History
Date User Action Args
2012-09-10 07:17:20mikasetstatus: fixed-in-git -> resolved
nosy: mru, ft
messages: + msg4456
2012-08-16 20:16:55evgenisetstatus: unread -> fixed-in-git
nosy: mru, ft
messages: + msg4446
2012-08-08 02:08:07mrucreate