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