1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-10 00:31:07 +02:00
Commit graph

12 commits

Author SHA1 Message Date
Oliver Kiddle
47430bcd7c 42317: completion option updates for commands that have had recent updates 2018-01-23 11:03:00 +01:00
Oliver Kiddle
14ff7d39ad 41492: update some options in completions 2017-08-05 16:22:30 +02:00
Daniel Shahaf
1955cceec7 40011: Make $_comp_priv_prefix only declared when required, and use that to have chgrp offer all groups under doas, ssh, etc as well. 2016-11-28 07:16:39 +00:00
Oliver Kiddle
b870ff85a0 39333: include name of command used to gain priviliges in context for command and gain-priviliges styles 2016-09-16 00:05:10 +02:00
Oliver Kiddle
8011fe8a58 39261 (tweaked cf. Daniel: 39275): don't unconditionally elevate privileges with sudo in completion functions
A new gain-privileges style enables it and a _comp_priv_prefix array
added for tracking how to match privileges for the current command
2016-09-11 13:49:22 +02:00
Daniel Shahaf
69ada95acd 34693: sudo completion: Don't false positive 'sudo -e' detection 2015-03-09 20:01:09 +00:00
Oliver Kiddle
3b7061e4e4 33958: update sudo completion for newer options 2014-12-13 20:04:02 +01:00
Oliver Kiddle
1fe821a8a1 30198: fix environ style lookup to be done in conventional manner 2012-02-14 17:01:17 +00:00
Peter Stephenson
7f3590c68f Alexey: 27789: use _arguments in _sudo 2010-03-15 19:35:26 +00:00
Peter Stephenson
b2176aa525 update _sudo 2009-05-08 08:42:05 +00:00
Bart Schaefer
7783d398c3 25029: : "environ" style to allow a different search path when completing
as a different user.
2008-10-10 09:56:25 +00:00
Sven Wischnowsky
324be321e1 moved from Completion/User/_sudo 2001-04-02 12:03:33 +00:00