Doug Kearns
0673212f42
unposted: remove periods from completion descriptions
...
As per the completion-style-guide recommendations.
2020-09-06 03:42:33 +10:00
Mikael Magnusson
841188439b
47306: edit-command-line: add editor style
2020-08-16 18:04:43 +02:00
Mikael Magnusson
b959ec790e
47304: _globflags: support specifying more than one flag where appropriate
2020-08-16 18:04:43 +02:00
oxiedi
2516da75a9
github #61 : _parameters: Don't leak the variable $i
2020-07-14 18:16:41 +00:00
Oliver Kiddle
1ee8ecd8ea
46036: fix colouring in prompt completion
2020-06-11 22:34:41 +02:00
Oliver Kiddle
cce88bdb0c
users/24892: fix local declaration with recursive-files style and complete it for zstyle
2020-06-11 22:31:44 +02:00
dana
359e0dae2b
45424: completion: Add **/sbin to PATH when completing commands like sudo
...
* 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-03-11 16:26:41 -05:00
Daniel Shahaf
50df0e0bb9
45447: Complete vcs_info_hookadd and vcs_info_hookdel. Expose _vcs_info_hooks as a top-level helper function.
2020-02-19 10:18:30 +00:00
Mikael Magnusson
387247864e
_brace_parameter: add missing \
2020-01-19 16:11:14 +01:00
Sebastian Gniazdowski
6c0ebbe1d9
44970: _brace_parameter: Update the description of S flag
2019-12-04 22:52:28 +01:00
Daniel Shahaf
c263b79c59
44809: _typeset: Complete 'functions -c'
2019-10-14 01:24:47 +00:00
Oliver Kiddle
cd6fd2b0a3
44274: allow finer control of completion match soring with compadd's -o option
2019-05-07 23:24:49 +02:00
Matthew Martin
7d84cde313
44201: _command_name: Check for external forcing precommand
2019-04-04 18:45:19 -05:00
Matthew Martin
5facfd3280
44200 (tweaked): Completion: Append to precommands in _normal
2019-04-04 18:45:19 -05:00
Matthew Martin
8e4566e536
44144: _builtin: Append "builtin" to precommands
2019-03-21 22:04:55 -05:00
dana
632023acc2
44100: zparseopts: Add -F option, completion, tests; improve documentation
...
* Enable zparseopts to perform basic usage validation (aborting on an
unrecognised option-like parameter)
* Officially document the resolution of ambiguous option specs
2019-03-12 19:03:56 -05:00
dana
f21d54a381
unposted: _zftp: Use 'post' pattern matching
...
_zftp's use of `#compdef -p`, combined with inaccurate sub-command matching in
the function, was causing it to clobber the completion for other commands,
notably zf_mkdir from zsh/files. To avoid this, use -P instead
2019-03-06 18:06:07 -06:00
dana
a76c6def15
44001: _brace_parameter: Complete (q+)
2019-01-21 15:17:57 -06:00
dana
f7f5b7f4ee
43960: Add full completion for exec and setsid
2019-01-01 08:01:14 -06:00
dana
df12f6cd2f
unposted (cf. 43800): Update strftime completion
2018-11-13 13:01:47 -06:00
Oliver Kiddle
082f703ccd
43818: complete math functions for other modules besides zsh/mathfunc
2018-11-12 10:34:32 +01:00
Oliver Kiddle
742bd20277
43784: clarify descriptions on options related to match sorting
2018-11-08 11:01:20 +01:00
Oliver Kiddle
f0655371a6
unposted (c.f. Bart: 43739): use a correct description for the @ parameter expansion flag
2018-11-08 09:33:58 +01:00
Daniel Shahaf
b39a102262
43366: _compdef: Change and add sources for completed completion function names.
...
Use ${(v)_comps} instead of going through $fpath again. Use
${functions} as well to find more legitimate matches, such as various
__git_foo() helpers defined in ${^fpath}/_git.
2018-09-06 13:58:00 +00:00
Matthew Martin
346c6ef578
43185: Use [ suffix for associative arrays; add + to remove-chars
2018-07-29 13:43:50 -05:00
Oliver Kiddle
afd008d96b
43073: various completion option updates
2018-06-21 13:28:24 +02:00
dana
05e4ee0587
43060: Expand stat completion
2018-06-20 00:25:31 -05:00
Oliver Kiddle
afec5fb136
42784: complete -s and -x options to the functions builtin
2018-05-17 22:55:33 +02:00
Oliver Kiddle
aabf978fce
42299: correct optional argument
2018-01-23 11:03:00 +01:00
Eric Cook
99cf61fd42
42171: prevent parameters of various parameters from becoming global
2018-01-02 14:38:03 -05:00
Oliver Kiddle
0ebf336489
41971: correctly break out of certain tag loops when there are matches
2017-11-02 21:36:55 +01:00
Oliver Kiddle
2273fe478a
41965: complete new functions -W and zmodload -s options
2017-10-31 00:55:02 +01:00
Sebastian Gniazdowski
37c5e20a80
41960: add missing local declarations for MATCH, MBEGIN and MEND
2017-10-29 13:54:05 +01:00
Oliver Kiddle
de425db94f
41927: complete "typeset -p"'s optional argument for multi-line output
2017-10-28 23:21:35 +02:00
Daniel Shahaf
57cfa8b160
41825/0002: _stat: Complete -x options to zsh/stat's 'zstat'.
2017-10-11 17:50:30 +00:00
Daniel Shahaf
c68cfb1c36
41825/0001: _stat: Only complete 'stat' if it's provided by the zsh/stat builtin.
2017-10-11 17:50:30 +00:00
Oliver Kiddle
04a7dca3b0
41831: fix compset usage in ogg123 completion and tweak where compset -p is a better choice than -P
2017-10-11 01:23:53 +02:00
Oliver Kiddle
82c26793e4
41827: correct sense of description for ${...:?...} expansion
2017-10-07 23:54:32 +02:00
dana
96006eaa87
41826: dana: fix inaccuracies in completion description wording for parameter expansion flags
2017-10-07 22:42:08 +02:00
Oliver Kiddle
9b4962a772
41762: fix for completion in assignment to associative array element
2017-09-28 09:31:35 +02:00
Oliver Kiddle
78afb218b0
40965: fix for missing local declarations of expl
2017-04-26 16:32:10 +02:00
Daniel Shahaf
5a32ced1be
unposted: Port 40617 to the completion.
2017-02-25 09:09:31 +00:00
Peter Stephenson
60a4f6cb67
unposted: "autooad ~..." also completes file
2017-01-17 18:03:26 +00:00
Peter Stephenson
12100eb6b9
40332: completion for new autoload features
2017-01-11 21:24:33 +00:00
Daniel Shahaf
03bd5e287f
users/22182: Propagate 22161 docs patch to completion descriptions.
2016-12-10 15:04:22 +00:00
Oliver Kiddle
ece90dae42
40114: complete :/ with other parameter operators
2016-12-08 23:52:19 +01:00
Eitan Adler
110ffae9fe
40035: Cosmetic fixes for comments and documentation.
...
Mostly fixes to doubled words.
2016-11-29 17:13:52 +00:00
Daniel Shahaf
3a83e481ab
unposted: Complete the $foo[(f)] flag.
2016-11-29 06:41:22 +00:00
Jun-ichi Takimoto
53e6b12bdf
40013: process zsh-specific time format extensions correctly
2016-11-26 16:36:21 +09:00
Daniel Shahaf
307da989d8
39917: Complete setsid(1) as a precommand
2016-11-17 15:32:04 +00:00