summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-08-18unposted: _canonical_paths: Port docstring changes from 39044.Daniel Shahaf2-2/+5
2016-08-1839044 (in part, see thread): Document _canonical_paths in the manual, too.Daniel Shahaf2-0/+20
This mostly copy-pastes the source code comments and adds markup, however, the positional arguments are now annotated optional, and a ')' was added.
2016-08-1539039: fix documentation of transpose-wordsPeter Stephenson2-5/+12
2016-08-1539040: Completion/…/_git: fix missing backslashes in 39036Daniel Hahler1-2/+2
2016-08-1339036: update git completion for new options up to git 2.9.2Oliver Kiddle2-453/+695
2016-08-1339026: pattern specified with _arguments' -A option shouldn't be checked ↵Oliver Kiddle2-2/+9
against words after the cursor
2016-08-1239035: ${(A)name=word} should expand as an array even when there is only one ↵Barton E. Schaefer3-0/+11
element.
2016-08-1239031: Ensure variables in transpose-words are initialisedPeter Stephenson2-1/+4
2016-08-1239029: document transpose-words changePeter Stephenson2-0/+8
2016-08-1238983: Make transpose-words handle numeric arguments sensiblyHan Pingtian2-39/+56
2016-08-1239028: more join/split cases fixed and tested.Barton E. Schaefer3-5/+17
2016-08-1139019 (cf. PWS 39013): add test cases for more join/split combinationsBarton E. Schaefer1-0/+55
Accidentally omitted from previous commit.
2016-08-1039019 (cf. PWS 39013): fix SHWORDSPLIT regression introduced by workers/29313Barton E. Schaefer2-6/+21
Also add test cases for more join/split combinations
2016-08-1039014: Use special OpenBSD interface to get correct rand() behaviorMikael Magnusson3-1/+11
2016-08-06unposted: fix typo in commentBarton E. Schaefer2-1/+3
2016-08-06unposted: fix formatting in module discussion; add mention of widgets and ↵Barton E. Schaefer2-16/+40
keymaps for modules.
2016-08-05workers/38995 (in part): compfiles: Add reverse-engineered documentation ↵Daniel Shahaf2-0/+18
breadcrumbs.
2016-08-0538996: _man: Support _correct_word.Daniel Shahaf2-11/+4
Since compfiles is undocumented, avoid its use altogether, replacing it by a construct that blackbox analysis suggests to be equivalent. The compfiles call being removed effected the following change (when completing «man -S 8:1 getc<TAB>»): BEFORE THE CALL: typeset -a pages=( /home/daniel/prefix/zsh/share/man/man1/ /usr/share/man/man8/ /usr/share/man/man1/ ) AFTER THE CALL: typeset -a pages=( '/home/daniel/prefix/zsh/share/man/man1/getc*(8|1)*' '/usr/share/man/man8/getc*(8|1)*' '/usr/share/man/man1/getc*(8|1)*' ) This patch effects the same transformation (modulo doubling the final slash). Any -M parameter will be passed to compadd.
2016-08-0538994: _man: Fix two bugs when completing manpage filenames in ↵Daniel Shahaf2-3/+17
separate-sections mode. - No longer glob all files (the (-g)-less _path_files was virtually always called, by at least one of the multiple calls to _man_pages). - Actually separate sections (by propagating $expl).
2016-08-0538993: _man: Drop (b): it's incorrect when $sect contains '|'.Daniel Shahaf2-2/+8
2016-08-0538991: Make 'whence -v autoloaded-function' shows the defining filename.Daniel Shahaf3-1/+15
This may also fix a problem whereby the %x prompt escape evaluated to a function name rather than a filename, since %x is also backed by scriptfilename.
2016-08-0538990: _debbugs_bugnumber: Track bts's data dir migration.Daniel Shahaf2-2/+12
2016-08-04unposted: fix format in zle.yoJun-ichi Takimoto2-2/+6
2016-08-0338989: minor completion updates for FreeBSDOliver Kiddle5-2/+10
2016-08-0338986: new gsettings completionOliver Kiddle2-0/+51
2016-08-0138981: _man: Followup to 37634: unbreak OpenBSD 'man 3p' and Linux $MANSECT.Daniel Shahaf2-5/+16
The breakage was reported in 38516.
2016-08-0138982: move cpupower completion to correct folderAndy Spencer2-0/+3
2016-08-0138976: new cpupower completionAndy Spencer2-0/+107
2016-08-0138971: Start using the new arrlen_ge() / arrlen_le() helpers.Daniel Shahaf7-12/+16
2016-08-0138973: Optimize indexing array parameters.Daniel Shahaf4-5/+55
% () { for 1 in $prefix/zsh/bin/zsh Src/zsh; do $1 -f -c 'a=( {1..1000000} ); repeat 3 time ( repeat 300 : $a[1] )'; done } ( repeat 300; do; : $a[1]; done; ) 1.68s user 0.01s system 98% cpu 1.718 total ( repeat 300; do; : $a[1]; done; ) 1.69s user 0.01s system 99% cpu 1.710 total ( repeat 300; do; : $a[1]; done; ) 1.69s user 0.01s system 99% cpu 1.714 total ( repeat 300; do; : $a[1]; done; ) 0.00s user 0.01s system 72% cpu 0.022 total ( repeat 300; do; : $a[1]; done; ) 0.00s user 0.01s system 72% cpu 0.022 total ( repeat 300; do; : $a[1]; done; ) 0.01s user 0.01s system 69% cpu 0.023 total
2016-08-0138964: _git-config: Complete option names present in the config file.Daniel Shahaf2-0/+49
This patch lets . git config x.y.z value git config <TAB> . complete 'x.y.z', even if x.y.z isn't hardcoded into _git-config.
2016-08-0138963: _git-config: Run gettable-options earlier and in all codepaths.Daniel Shahaf2-2/+9
No change to completions; this is preparation for the next commit.
2016-08-0138961: _git-config: No functional change: rename $git_options_static to ↵Daniel Shahaf2-12/+18
$git_options in preparation for the after-next commit.
2016-07-31unposted: _git: Clean up superfluous and missing backslashes.Daniel Shahaf2-3/+6
2016-07-3138967: _hosts: Don't complete wildcard entries from ~/.ssh/known_hosts.Daniel Shahaf2-7/+19
2016-07-3138966: _svnadmin: Complete positional arguments for 'hotcopy', 'setlog', ↵Daniel Shahaf2-0/+16
'setrevprop', 'delrevprop'.
2016-07-3138965: _svnadmin: Complete 'freeze' as a precommand.Daniel Shahaf2-1/+32
2016-07-3138962: _git-config: Document more line noise.Daniel Shahaf2-0/+8
2016-07-3138959: Document 38956 (_widgets).Daniel Shahaf2-0/+14
2016-07-29unposted: _svnadmin: Tweak state description.Daniel Shahaf2-1/+6
2016-07-2838927: zle-line-pre-redraw: Set $WIDGET like other special widgets do.Daniel Shahaf2-1/+4
2016-07-28unposted: Avoid $0 for POSIX_ARGZERO compatibility.Daniel Shahaf3-3/+9
2016-07-2838957: make use of updates to match-words-by-style and better support ↵Oliver Kiddle4-31/+38
completion of word-style styles for zstyle
2016-07-2838956: factor out zle widget completion into its own functionOliver Kiddle6-14/+25
2016-07-28unposted: fix vi-pipe for visual mode: don't need to force line modeOliver Kiddle2-1/+5
2016-07-2838953: Fix some issues with match-words-by-style.Peter Stephenson4-15/+61
Add keyword retrieval of words. Improve test for start of word in subwords for use in delete-whole-word. If line after cursor is empty, white space is treated as ws-after-cursor.
2016-07-28users/21793: Remove raw integers as glob qualifiers.Peter Stephenson3-8/+15
There was an ancient undocumented feature that these were treated as a file mode to "or" with that of the file under test. The only documented way of doing this has always been the "f" qualifier, so removed the effect of raw integers to make errors more obvious.
2016-07-27unposted: Prefix function's name to its error messages.Daniel Shahaf2-2/+5
2016-07-27unposted (after 38939): _git-rebase: Unbreak.Daniel Shahaf2-1/+4
2016-07-2738914 (tweaked): _pkg-config: Add options, complete *.pc files for ↵Daniel Shahaf2-1/+17
positional arguments.