about summary refs log tree commit diff
path: root/Completion/Unix/Command/_doas
Commit message (Collapse)AuthorAgeFilesLines
* 45424: completion: Add **/sbin to PATH when completing commands like sudodana2020-03-111-10/+11
| | | | | | | | | | | | | | | | | | * 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
* 40011: Make $_comp_priv_prefix only declared when required, and use that to ↵Daniel Shahaf2016-11-281-0/+1
| | | | have chgrp offer all groups under doas, ssh, etc as well.
* 39533: add the new -L option, sort options and add some exclusionsMatthew Martin2016-10-131-3/+6
|
* 39513: new doas completionOliver Kiddle2016-09-301-0/+18