1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-10 21:30:56 +01:00
Commit graph

203 commits

Author SHA1 Message Date
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
742bd20277 43784: clarify descriptions on options related to match sorting 2018-11-08 11:01:20 +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
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
78afb218b0 40965: fix for missing local declarations of expl 2017-04-26 16:32:10 +02: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
Eitan Adler
110ffae9fe 40035: Cosmetic fixes for comments and documentation.
Mostly fixes to doubled words.
2016-11-29 17:13:52 +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
b816bb42cf 38957: make use of updates to match-words-by-style and better support completion of word-style styles for zstyle 2016-07-28 16:16:25 +02:00
Oliver Kiddle
54d5f8e363 38956: factor out zle widget completion into its own function 2016-07-28 16:12:59 +02:00
Mikael Magnusson
bd707b4787 _print: add -v 2016-07-18 00:44:52 +02:00
Oliver Kiddle
304aa25184 38812: a few new completions and update some command options 2016-07-08 23:10:41 +02:00
Daniel Shahaf
cbcae36141 38402: Complete 'eatmydata'. 2016-05-04 21:05:35 +00:00
Daniel Shahaf
1a2afc6b6d unposted: _compadd: Fix typo. 2016-05-01 16:25:15 +00:00
Daniel Shahaf
07a300365f unposted: Remove uneeded executability bits. 2015-12-03 23:49:14 +00:00
Eric Cook
002d68525c 36571: Completion for zsocket and updated losetup's completion 2015-09-23 01:14:08 +02:00
Mikael Magnusson
3f171fd463 36177: _setopt: complete printexitvalue both ways 2015-08-17 00:56:48 +02:00
Oliver Kiddle
9a4e1bf93b 36146: avoid mix of -/ and -g with _files as that just overrides user preferences 2015-08-14 11:00:39 +02:00
Mikael Magnusson
b386bbaf29 36119: _strftime: Add completion for zsh/datetime's strftime builtin 2015-08-12 17:55:07 +02:00
Oliver Kiddle
5951ac13ed 35748: fixes to prompt spec completion where it contains date formats 2015-07-09 14:58:06 +02:00
Oliver Kiddle
5c5654016b 35729: new compadd completion 2015-07-08 12:16:32 +02:00
Oliver Kiddle
b2de9b518e 35527: use list-separator style in cases where separator was hardcoded 2015-06-19 19:54:44 +02:00
Barton E. Schaefer
229bc3cc74 35350: extend "fc -I" to cover listing of "internal" history events only 2015-06-06 12:31:47 -07:00
Oliver Kiddle
f4d8051de1 34940: _fc: fix typo breaking completion for history 2015-04-24 10:59:27 +02:00
Mikael Magnusson
9a0f5ea8a7 Revert "34926: _fc: Remove a spurious 2"
This reverts commit dd623b4403.
2015-04-21 12:16:13 +02:00
Mikael Magnusson
dd623b4403 34926: _fc: Remove a spurious 2 2015-04-19 08:23:11 +02:00
Daniel Shahaf
741b0bd97f users/20159: completion: zstyle: Add 'show-ambiguity' 2015-04-13 21:06:02 +00:00
Mikael Magnusson
205cb16b98 Fix ~ and (Q) order in _zattr 2015-03-15 00:42:01 +01:00
Peter Stephenson
1c942291f8 34435: Update emulate completion.
Add new feature to run command in emulation.

Factor out handling of quoted command string to new function.
2015-01-30 16:24:20 +00:00