Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 45424: completion: Add **/sbin to PATH when completing commands like sudo | dana | 2020-03-11 | 1 | -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-ups | dana | 2020-02-14 | 1 | -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 macOS | Oliver Kiddle | 2016-06-18 | 1 | -1/+1 |
| | |||||
* | 38639: fix username completion after -, update options and get user shell ↵ | Oliver Kiddle | 2016-06-09 | 1 | -60/+67 |
| | | | | with getent | ||||
* | 33485: fix a missing ;; case terminator | Mikael Magnusson | 2014-10-24 | 1 | -0/+1 |
| | |||||
* | 33485: fixes for zstyle context handling | Oliver Kiddle | 2014-10-21 | 1 | -5/+15 |
| | |||||
* | 22110: more intelligent su completion | Bart Schaefer | 2006-01-16 | 1 | -12/+61 |
| | |||||
* | remove that -T option to compdef again and instead use comma-separated ↵ | Sven Wischnowsky | 2002-03-13 | 1 | -1/+1 |
| | | | | sub-contexts both for function and style lookup (16819) | ||||
* | allow different sets of completion definitions selected with option -T to ↵ | Sven Wischnowsky | 2002-03-04 | 1 | -1/+1 |
| | | | | compdef; use this for parameter values and redirections (16755) | ||||
* | allow arguments to be given to functions used by compdef (actually, the ↵ | Sven Wischnowsky | 2002-01-21 | 1 | -4/+2 |
| | | | | strings are eval'uated, so this should be powerful enough) (16472) | ||||
* | moved from Completion/User/_su | Sven Wischnowsky | 2001-04-02 | 1 | -0/+22 |