about summary refs log tree commit diff
path: root/Completion/Unix/Command/_su
Commit message (Collapse)AuthorAgeFilesLines
* 47919: use common function for completing BSD login classesOliver Kiddle2021-02-061-1/+1
| | | | also update for options to env on FreeBSD and Dragonfly
* 45424: completion: Add **/sbin to PATH when completing commands like sudodana2020-03-111-0/+6
| | | | | | | | | | | | | | | | | | * 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
* 45423: _su: Improve arg handling, shell look-upsdana2020-02-141-12/+33
| | | | | | | | Differences from ML post: * Properly fix escaping issue with $usr (needs unescaped first) * Make $shell emptiness check easier to read (per feedback)
* 38703: support su options on macOSOliver Kiddle2016-06-181-1/+1
|
* 38639: fix username completion after -, update options and get user shell ↵Oliver Kiddle2016-06-091-60/+67
| | | | with getent
* 33485: fix a missing ;; case terminatorMikael Magnusson2014-10-241-0/+1
|
* 33485: fixes for zstyle context handlingOliver Kiddle2014-10-211-5/+15
|
* 22110: more intelligent su completionBart Schaefer2006-01-161-12/+61
|
* remove that -T option to compdef again and instead use comma-separated ↵Sven Wischnowsky2002-03-131-1/+1
| | | | sub-contexts both for function and style lookup (16819)
* allow different sets of completion definitions selected with option -T to ↵Sven Wischnowsky2002-03-041-1/+1
| | | | compdef; use this for parameter values and redirections (16755)
* allow arguments to be given to functions used by compdef (actually, the ↵Sven Wischnowsky2002-01-211-4/+2
| | | | strings are eval'uated, so this should be powerful enough) (16472)
* moved from Completion/User/_suSven Wischnowsky2001-04-021-0/+22