1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 20:40:57 +02:00
Commit graph

346 commits

Author SHA1 Message Date
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
Oliver Kiddle
5c28031ea6 39834: when print used with -v and -l, include a final newline
Also complete print -S option and make further use of the
new printf to an array feature in other completion functions.
2016-11-05 00:31:01 +01:00
Oliver Kiddle
4b41e33cbc 39389: when printf -v is used with an array use separate elements each time the format is reused 2016-11-05 00:27:47 +01:00
Daniel Shahaf
ae3b675ce6 39657: _zstyle: Complete the -g, -s,-b,-a, -t,-T, -m options. 2016-10-18 01:34:53 +00:00
Daniel Shahaf
713857cea0 39657: _zstyle: When completing a style for an unrecognised context, complete all known styles.
Previously, vcs_info styles weren't completed.
2016-10-18 01:34:52 +00:00
Daniel Shahaf
13cfa036c8 39657: Make a helper function global. 2016-10-18 01:34:52 +00:00
Daniel Shahaf
7ad0001183 39479 + 39481 minus _path_files hunk (see 39489): Completion: audit 'compset -P' calls to use shortest match where applicable, plus random drive-by tweaks.
Found by grepping for patterns that can match needles of various lengths:

    :grep 'compset -[PS].*[\#^*()\|<>?~\]' Completion/
2016-10-07 13:56:31 +00:00
Daniel Shahaf
0f8725beeb 39423: _zed: Support the '--' end-of-options mark.
This matters for fned'ing vcs_info hooks.
2016-09-24 07:22:16 +00:00
Oliver Kiddle
34d512a677 39370: complete -w and -K options to zle following the widget name and numeric base to integer 2016-09-21 23:03:14 +02:00
Oliver Kiddle
fbafc5b509 39332: support ksh's [[ -v varname ]] condition for checking if variables are set 2016-09-16 00:00:28 +02:00