<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zsh/Completion/Unix/Command/_sudo, branch declarednull</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/zsh/atom?h=declarednull</id>
<link rel='self' href='http://git.sudomsg.com/mirror/zsh/atom?h=declarednull'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/'/>
<updated>2020-03-11T21:26:41Z</updated>
<entry>
<title>45424: completion: Add **/sbin to PATH when completing commands like sudo</title>
<updated>2020-03-11T21:26:41Z</updated>
<author>
<name>dana</name>
<email>dana@dana.is</email>
</author>
<published>2020-03-11T21:26:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=359e0dae2bded75eebf7fe3b3cf919e1dd44c333'/>
<id>urn:sha1:359e0dae2bded75eebf7fe3b3cf919e1dd44c333</id>
<content type='text'>
* Update _command_names to add **/sbin to PATH when not otherwise overridden
  and _comp_priv_prefix is set. This ensures that, on systems where
  unprivileged users don't have **/sbin in their PATHs, we can still complete
  those commands when they try to run them with e.g. sudo

* Update functions for privilege-gaining commands to use the aforementioned
  mechanism

* Fix some other minor issues in _pfexec and _doas

Changes from the posted diff:

* Fix a minor redundancy in _doas

* Add _c_p_p=( '' ) hack to _su
</content>
</entry>
<entry>
<title>44781: add completion of SELinux contexts</title>
<updated>2019-09-26T22:27:45Z</updated>
<author>
<name>Oliver Kiddle</name>
<email>okiddle@yahoo.co.uk</email>
</author>
<published>2019-09-26T22:27:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=4f48ce208b89b0790f113642aab200a65abf7816'/>
<id>urn:sha1:4f48ce208b89b0790f113642aab200a65abf7816</id>
<content type='text'>
</content>
</entry>
<entry>
<title>42317: completion option updates for commands that have had recent updates</title>
<updated>2018-01-23T10:03:00Z</updated>
<author>
<name>Oliver Kiddle</name>
<email>opk@zsh.org</email>
</author>
<published>2018-01-23T10:01:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=47430bcd7cb2fade4d8753d920a2720eeca52f6a'/>
<id>urn:sha1:47430bcd7cb2fade4d8753d920a2720eeca52f6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>41492: update some options in completions</title>
<updated>2017-08-05T14:22:30Z</updated>
<author>
<name>Oliver Kiddle</name>
<email>opk@zsh.org</email>
</author>
<published>2017-08-05T14:22:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=14ff7d39ad2c9a0d0c4549783f04cf809e5d1980'/>
<id>urn:sha1:14ff7d39ad2c9a0d0c4549783f04cf809e5d1980</id>
<content type='text'>
</content>
</entry>
<entry>
<title>40011: Make $_comp_priv_prefix only declared when required, and use that to have chgrp offer all groups under doas, ssh, etc as well.</title>
<updated>2016-11-28T07:16:39Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2016-11-24T07:02:11Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=1955cceec79107b6571646b695d334df8e4a6cd8'/>
<id>urn:sha1:1955cceec79107b6571646b695d334df8e4a6cd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>39333: include name of command used to gain priviliges in context for command and gain-priviliges styles</title>
<updated>2016-09-15T22:05:10Z</updated>
<author>
<name>Oliver Kiddle</name>
<email>opk@zsh.org</email>
</author>
<published>2016-09-15T22:05:10Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=b870ff85a0bcda9d38a734aa86bb6aee3d76983e'/>
<id>urn:sha1:b870ff85a0bcda9d38a734aa86bb6aee3d76983e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>39261 (tweaked cf. Daniel: 39275): don't unconditionally elevate privileges with sudo in completion functions</title>
<updated>2016-09-11T11:49:22Z</updated>
<author>
<name>Oliver Kiddle</name>
<email>opk@zsh.org</email>
</author>
<published>2016-09-11T11:22:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=8011fe8a582bd3c018a98e0e2c08f65233bcf0fc'/>
<id>urn:sha1:8011fe8a582bd3c018a98e0e2c08f65233bcf0fc</id>
<content type='text'>
A new gain-privileges style enables it and a _comp_priv_prefix array
added for tracking how to match privileges for the current command
</content>
</entry>
<entry>
<title>34693: sudo completion: Don't false positive 'sudo -e' detection</title>
<updated>2015-03-09T20:01:09Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2015-03-07T15:31:14Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=69ada95acd9cb5c5ea51277f23739affe13cc1fb'/>
<id>urn:sha1:69ada95acd9cb5c5ea51277f23739affe13cc1fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>33958: update sudo completion for newer options</title>
<updated>2014-12-13T19:04:02Z</updated>
<author>
<name>Oliver Kiddle</name>
<email>opk@zsh.org</email>
</author>
<published>2014-12-13T19:03:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=3b7061e4e43e64c6f9d7e2087b22b622c73c7073'/>
<id>urn:sha1:3b7061e4e43e64c6f9d7e2087b22b622c73c7073</id>
<content type='text'>
</content>
</entry>
<entry>
<title>30198: fix environ style lookup to be done in conventional manner</title>
<updated>2012-02-14T17:01:17Z</updated>
<author>
<name>Oliver Kiddle</name>
<email>opk@users.sourceforge.net</email>
</author>
<published>2012-02-14T17:01:17Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=1fe821a8a12b209ee4a1f7034750043a803b6818'/>
<id>urn:sha1:1fe821a8a12b209ee4a1f7034750043a803b6818</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Alexey: 27789: use _arguments in _sudo</title>
<updated>2010-03-15T19:35:26Z</updated>
<author>
<name>Peter Stephenson</name>
<email>pws@users.sourceforge.net</email>
</author>
<published>2010-03-15T19:35:26Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=7f3590c68fa37812a4f79ceb5a41bdd7ca565067'/>
<id>urn:sha1:7f3590c68fa37812a4f79ceb5a41bdd7ca565067</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update _sudo</title>
<updated>2009-05-08T08:42:05Z</updated>
<author>
<name>Peter Stephenson</name>
<email>pws@users.sourceforge.net</email>
</author>
<published>2009-05-08T08:42:05Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=b2176aa525517dd17827c06a6b9c38db08628b52'/>
<id>urn:sha1:b2176aa525517dd17827c06a6b9c38db08628b52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>25029: : "environ" style to allow a different search path when completing</title>
<updated>2008-10-10T09:56:25Z</updated>
<author>
<name>Bart Schaefer</name>
<email>barts@users.sourceforge.net</email>
</author>
<published>2008-10-10T09:56:25Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=7783d398c3e9a33790530d14de72c0ea50cabe36'/>
<id>urn:sha1:7783d398c3e9a33790530d14de72c0ea50cabe36</id>
<content type='text'>
as a different user.
</content>
</entry>
<entry>
<title>moved from Completion/User/_sudo</title>
<updated>2001-04-02T12:03:33Z</updated>
<author>
<name>Sven Wischnowsky</name>
<email>wischnow@users.sourceforge.net</email>
</author>
<published>2001-04-02T12:03:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=324be321e16f0125ec99324499d5a761b16a5db2'/>
<id>urn:sha1:324be321e16f0125ec99324499d5a761b16a5db2</id>
<content type='text'>
</content>
</entry>
</feed>
