summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-08-2739105: _hashed_absolute_command_paths: Make the display string the basename.Daniel Shahaf2-1/+7
This makes better use of terminal real estate.
2016-08-2739103: _typed-in_absolute_command_paths: Better handle non-empty arguments ↵Daniel Shahaf2-1/+11
that don't start with a slash.
2016-08-2739070: umount: Complete /f/b<TAB> → /foo/bar (for absolute path arguments ↵Daniel Shahaf3-3/+35
only, for now)
2016-08-2639104: do not hash relative paths in findcmd()Barton E. Schaefer2-1/+5
2016-08-2539102: __git_recent_branches: Optimise.Daniel Shahaf2-19/+28
This improves performance from 0.6s to 0.04s (+93%) on one of Daniel Hahler's repositories.
2016-08-2439094: _git-config: When an option is unknown, complete its value to the set ↵Daniel Shahaf2-2/+11
value.
2016-08-2339087: fix 'conditionally uninitialized' variablesJun-ichi Takimoto3-2/+7
2016-08-2339086: declare file local variables as 'static'Jun-ichi Takimoto2-2/+6
2016-08-22unposted (c.f. Mikael: 39078): fix for git blame termsOliver Kiddle2-3/+8
2016-08-22unposted: _git-config: sendemail.smtpserver: Correct tags.Daniel Shahaf2-1/+4
2016-08-2239046 + 39061: New :P history modifier.Daniel Shahaf13-14/+68
2016-08-2039064: use scalbn() instead of scalb() (mathfunc.c)Jun-ichi Takimoto3-0/+10
2016-08-2039074: _ip-neighbour: Fix typo in 'lladdr'.Daniel Shahaf2-1/+6
2016-08-1939072: minor tweaksOliver Kiddle2-8/+6
2016-08-1939071: update completion functions for changes in Solaris 11.3Oliver Kiddle9-892/+913
2016-08-1939067: update options to correspond to latest versions of software in ↵Oliver Kiddle24-1248/+1301
various functions
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