summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-01-29unposted: vcs_info git: Add a missing guard against redefining a function.Daniel Shahaf2-0/+4
2022-01-29unposted: vcs_info git: Deconfuse $EDITORDaniel Shahaf2-2/+5
Work around <https://github.com/chrisbra/vim-zsh/issues/39>.
2022-01-29unposted: vcs_info: Add Vim modelinesDaniel Shahaf5-0/+13
... for consistency with all other vcs_info function files.
2022-01-2949723: vcs_info quilt: Use quilt-patch-dir and ${QUILT_PATCHES} even when ↵Daniel Shahaf2-21/+28
get-unapplied hasn't been set This affects the post-quilt hook. Before this patch, if no patches have been applied and get-unapplied hasn't been set, the second argument to that hook would undergo null elision. The generation of patch subjects for the gen-applied-string, gen-unapplied-string, and set-patch-format hooks was unaffected since it was guarded by [[ -n $patches ]].
2022-01-2949722: vcs_info quilt: Refactor for readability. No functional change.Daniel Shahaf2-6/+10
2022-01-2949715: _subversion: add: Complete target arguments to this subcommandDaniel Shahaf2-10/+17
2022-01-2949714: _subversion: resolve: Complete conflicted files created by merges, tooDaniel Shahaf2-1/+8
2022-01-2949713: _subversion: commit, diff, revert: Update completions for svn 1.7 and ↵Daniel Shahaf2-26/+46
newer * _svn_deletedfiles: Remove. The last version of svn(1) under which that function could possibly complete anything, svn 1.6.x, was EOLed in 2013. Newer versions don't have a "text-base" directory, so $controlled is set to an empty array, so this function returned false for all files, so in 'svn rm' (up to the previous commit) all files were completed (because that's what '_files -g "*(e:false:)"' does). * _svn_status: Remove. Versions of svn newer than the aforementioned 1.6.x have an entries file but never modify it, so the "mtime has changed" check would false negative. Therefore, sequences such as: . svn <TAB> echo >> some/versioned/file svn ci <TAB> . wouldn't offer some/versioned/file. . Furthermore, completion would offer directories with no changed files in them, and even unversioned directories. Now only changed files/directories are offered. * _cache_svn_status, _cache_svn_mtime: Remove. If these hadn't been removed, I would have moved their declarations to file scope so _svn_status could be used from outside this file, too. The replacement function, _svn_modified, doesn't have cache support, but does honour the 'verbose' style to inhibit recursion to subdirectories.
2022-01-2949712: _subversion: svn rm: Complete all svn-controlled files, not only ↵Daniel Shahaf2-1/+4
missing/deleted files Note that currently, _svn_controlled matches all files.
2022-01-2949711: _subversion: _svn_status: Don't offer unversioned filesDaniel Shahaf2-1/+6
This function is used only by revert, diff, and commit, none of which can run on unversioned files (those with status '?').
2022-01-27unposted: vcs_info quilt docs: Fix misspelled style nameDaniel Shahaf2-1/+4
2022-01-27unposted: vcs_info quilt: Remove a no-op variable assignmentDaniel Shahaf2-1/+5
2022-01-2549709: vcs_info hg: Keep $HGPLAIN set for hooks if it had been set outside ↵Daniel Shahaf2-1/+6
vcs_info If someone does 'HGPLAIN=1 vcs_info', any vcs_info hooks should be called with HGPLAIN set. Declaring it 'local' broke that.
2022-01-23gitlab !17: Add missing options for quilt setup commandAndreas Schneider2-0/+7
2022-01-0149667: Include US spelling of "grey" ("gray")Matt Alexander2-3/+9
Co-authored-by: Daniel Shahaf <d.s@daniel.shahaf.name>
2021-12-2949664: Use associative array for third-party completionAaron Schrab2-4/+7
2021-12-2949668: update zfs completionOliver Kiddle5-894/+1365
2021-12-2438150: fix off-by-one error in matcher spec parsingm0viefreak2-1/+6
2021-12-2149658: Fix NULL reference in match code.Peter Stephenson2-1/+6
A test when acquiring the replacement pattern match in the globbing code erroneously allowed the use of a NULL pointer. This appears to be an unnecessary test case added alongside other surgery back in 2008.
2021-12-2149655 based on 34928 (Daniel Hahler): new pip completionOliver Kiddle2-0/+218
2021-12-1649653: fix array indexing issue introduced with 49518 due to using decimal ↵Oliver Kiddle2-3/+8
rather than hex 20 Also avoid comparing the current word against all options when the word doesn't start with - or +.
2021-12-1649648 based on github #80 (Vincent Bernat): invert before/since for date ↵Oliver Kiddle3-7/+11
glob qualifiers completion
2021-12-1449518: fix exclusions for mixed - and + stacked optionsOliver Kiddle4-12/+56
2021-12-1349646: allow colors in WATCHFMT with %F/%KOliver Kiddle4-4/+49
2021-12-1349645: when completing for the path_dirs option, add a / suffix and follow ↵Oliver Kiddle2-6/+10
symlinks
2021-12-1349643: facilitate use of the fake style by always calling _description with ↵Oliver Kiddle2-4/+12
the executables tag for command names Also allow the command-path style to include relative directories.
2021-12-1349634, reported by Claes Nästén: revert 28989Oliver Kiddle2-2/+7
Defining _POSIX_C_SOURCE caused issues on Solaris 10 but doesn't seem to be needed for musl anymore
2021-12-0749633: update options for git 2.34Oliver Kiddle2-124/+242
2021-12-0249630: allow zsh to quote matches from bash completions but include a ↵Oliver Kiddle2-2/+6
special case for space suffixes
2021-12-0249631: new logger completionOliver Kiddle2-0/+82
2021-12-0249629: new Linux perf completionOliver Kiddle2-0/+813
2021-12-0149628: Add an xfail test for RPS1/RPROMPT equivalence.Daniel Shahaf2-0/+9
2021-12-0149624: Expect the test 'All identifiers are variable references in POSIX ↵Daniel Shahaf2-1/+5
arithmetic' to pass, as it has been passing since 49611.
2021-12-01unposted: Add whitespace and comments. No functional change.Daniel Shahaf3-0/+7
2021-12-0149621: Fix the info Doc build, broken in 49448.Daniel Shahaf3-0/+9
2021-11-3049612: avoid startup error with clashing non-local module parameter nameOliver Kiddle2-1/+4
2021-11-3049611 based on 49590 (Martijn Dekker): disable Inf and NaN in math ↵Oliver Kiddle2-1/+6
expressions for sh emulation
2021-11-2849606: remove old NIS-specific code for retrieving user dataOliver Kiddle4-156/+4
2021-11-2849602: only set LOGCHECK from the watch moduleOliver Kiddle2-2/+3
2021-11-2849601: don't create ambiguous history file entries for lines ending with a ↵Oliver Kiddle3-9/+39
backslash
2021-11-26github #83: _git-push, _git-send-pack: Make --push-option repeatable.Paul Seyfert2-2/+7
2021-11-2649448: docs: Fix pointers to the `Widgets', `User-defined Widgets', and ↵Daniel Shahaf3-10/+18
`Standard Widgets' sections. The latter two didn't have their own texinode()s. Various places, both those sections' subsections and elsewhere in the manual, linked to the first section rather than to the third. For instance, zshcontrib(1) pointed to "noderef(Miscellaneous) in noderef(Zle Widgets)", even though the former (currently §18.6.6) is not under the latter (currently §18.4). Add texinode()s and fix those pointers.
2021-11-2649447: docs: _wanted: Clarify the example and point to another one.Daniel Shahaf2-1/+8
2021-11-2649446: docs: Add texinode()s, so the next commit can link directly to a ↵Daniel Shahaf2-0/+7
subsection.
2021-11-2649445: docs: Clean up some subsection references.Daniel Shahaf11-13/+18
2021-11-2649449: _zstat: Don't offer -o after -s, since -s is ignored when both -s and ↵Daniel Shahaf2-1/+4
-o are specified.
2021-11-26unposted: Add ChangeLog for the previous commit.Daniel Shahaf1-0/+4
2021-11-2647599 (tweaked): New test for '{foo,bar}' in command positionDaniel Shahaf1-0/+8
It's currently treated as a list but should perhaps be a brace expansion.
2021-11-2449597: add a helper for completing numbers with unit suffixes and separate ↵Oliver Kiddle18-90/+258
out defaults, ranges and units in completion descriptions
2021-11-2249586: fix :a and :A modifiers (with PWD="/") on Cygwin⁩Jun-ichi Takimoto2-1/+10