Daniel Shahaf
c055c6464d
unposted: vcs_info: Add Vim modelines
...
... for consistency with all other vcs_info function files.
2022-01-29 16:01:39 +00:00
Daniel Shahaf
ee5e3d0c9d
49723: vcs_info quilt: Use quilt-patch-dir and ${QUILT_PATCHES} even when 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-29 11:04:44 +00:00
Daniel Shahaf
e52062170a
49722: vcs_info quilt: Refactor for readability. No functional change.
2022-01-29 11:04:43 +00:00
Daniel Shahaf
04513dd5df
49715: _subversion: add: Complete target arguments to this subcommand
2022-01-29 10:08:45 +00:00
Daniel Shahaf
a956caa233
49714: _subversion: resolve: Complete conflicted files created by merges, too
2022-01-29 10:08:43 +00:00
Daniel Shahaf
a803a5f4c4
49713: _subversion: commit, diff, revert: Update completions for svn 1.7 and 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-29 10:08:42 +00:00
Daniel Shahaf
cb2b0e7c6c
49712: _subversion: svn rm: Complete all svn-controlled files, not only missing/deleted files
...
Note that currently, _svn_controlled matches all files.
2022-01-29 10:08:40 +00:00
Daniel Shahaf
6342512483
49711: _subversion: _svn_status: Don't offer unversioned files
...
This function is used only by revert, diff, and commit, none of which
can run on unversioned files (those with status '?').
2022-01-29 10:08:39 +00:00
Daniel Shahaf
441f594c9f
unposted: vcs_info quilt docs: Fix misspelled style name
2022-01-27 17:34:57 +00:00
Daniel Shahaf
b99599b4f4
unposted: vcs_info quilt: Remove a no-op variable assignment
2022-01-27 17:34:57 +00:00
Daniel Shahaf
8460d75869
49709: vcs_info hg: Keep $HGPLAIN set for hooks if it had been set outside 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-25 10:11:58 +00:00
Andreas Schneider
af0f497247
gitlab !17 : Add missing options for quilt setup command
2022-01-23 10:46:52 +00:00
Matt Alexander
2876c25a28
49667: Include US spelling of "grey" ("gray")
...
Co-authored-by: Daniel Shahaf <d.s@daniel.shahaf.name>
2022-01-01 14:47:53 -08:00
Aaron Schrab
92c80e72aa
49664: Use associative array for third-party completion
2021-12-29 00:29:50 +01:00
Oliver Kiddle
85bf9740a0
49668: update zfs completion
2021-12-29 00:22:33 +01:00
m0viefreak
d82604843b
38150: fix off-by-one error in matcher spec parsing
2021-12-24 13:09:25 -08:00
Peter Stephenson
7f240e6aa9
49658: Fix NULL reference in match code.
...
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-21 10:31:26 +00:00
Oliver Kiddle
b7490d3376
49655 based on 34928 (Daniel Hahler): new pip completion
2021-12-21 01:20:01 +01:00
Oliver Kiddle
6b763233b2
49653: fix array indexing issue introduced with 49518 due to using decimal rather than hex 20
...
Also avoid comparing the current word against all options when the word
doesn't start with - or +.
2021-12-16 14:27:59 +01:00
Oliver Kiddle
702d773e86
49648 based on github #80 (Vincent Bernat): invert before/since for date glob qualifiers completion
2021-12-16 14:21:19 +01:00
Oliver Kiddle
7cb980b536
49518: fix exclusions for mixed - and + stacked options
2021-12-14 12:30:55 +01:00
Oliver Kiddle
91b7baf259
49646: allow colors in WATCHFMT with %F/%K
2021-12-13 21:06:57 +01:00
Oliver Kiddle
7791a6876c
49645: when completing for the path_dirs option, add a / suffix and follow symlinks
2021-12-13 20:59:25 +01:00
Oliver Kiddle
78c51b34c0
49643: facilitate use of the fake style by always calling _description with the executables tag for command names
...
Also allow the command-path style to include relative directories.
2021-12-13 20:52:23 +01:00
Oliver Kiddle
6de4bcfcd5
49634, reported by Claes Nästén: revert 28989
...
Defining _POSIX_C_SOURCE caused issues on Solaris 10 but doesn't seem
to be needed for musl anymore
2021-12-13 20:44:59 +01:00
Oliver Kiddle
e2ad321c88
49633: update options for git 2.34
2021-12-07 07:35:59 +01:00
Oliver Kiddle
4e1bd9ebdf
49630: allow zsh to quote matches from bash completions but include a special case for space suffixes
2021-12-02 21:03:57 +01:00
Oliver Kiddle
9fc0e319c9
49631: new logger completion
2021-12-02 21:03:57 +01:00
Oliver Kiddle
4775f4dc12
49629: new Linux perf completion
2021-12-02 21:03:54 +01:00
Daniel Shahaf
7acfb7dfae
49628: Add an xfail test for RPS1/RPROMPT equivalence.
2021-12-01 06:32:54 +00:00
Daniel Shahaf
884cd84722
49624: Expect the test 'All identifiers are variable references in POSIX arithmetic' to pass, as it has been passing since 49611.
2021-12-01 04:20:56 +00:00
Daniel Shahaf
9cc6f8d8c9
unposted: Add whitespace and comments. No functional change.
2021-12-01 03:34:15 +00:00
Daniel Shahaf
b2632cd21b
49621: Fix the info Doc build, broken in 49448.
2021-12-01 03:32:03 +00:00
Oliver Kiddle
ba225155e4
49612: avoid startup error with clashing non-local module parameter name
2021-11-30 18:36:57 +01:00
Oliver Kiddle
b3519a9603
49611 based on 49590 (Martijn Dekker): disable Inf and NaN in math expressions for sh emulation
2021-11-30 18:27:53 +01:00
Oliver Kiddle
07c77dad50
49606: remove old NIS-specific code for retrieving user data
2021-11-28 20:55:02 +01:00
Oliver Kiddle
926a1a7296
49602: only set LOGCHECK from the watch module
2021-11-28 20:51:41 +01:00
Oliver Kiddle
78958c08bf
49601: don't create ambiguous history file entries for lines ending with a backslash
2021-11-28 20:49:30 +01:00
Paul Seyfert
5fe498124d
github #83 : _git-push, _git-send-pack: Make --push-option repeatable.
2021-11-26 11:48:55 +00:00
Daniel Shahaf
1168c6c3ea
49448: docs: Fix pointers to the Widgets',
User-defined Widgets', and `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-26 08:39:08 +00:00
Daniel Shahaf
e8d49addc0
49447: docs: _wanted: Clarify the example and point to another one.
2021-11-26 08:39:03 +00:00
Daniel Shahaf
ff1f7769ee
49446: docs: Add texinode()s, so the next commit can link directly to a subsection.
2021-11-26 08:38:56 +00:00
Daniel Shahaf
94563d5ad1
49445: docs: Clean up some subsection references.
2021-11-26 08:38:39 +00:00
Daniel Shahaf
676aaf23c3
49449: _zstat: Don't offer -o after -s, since -s is ignored when both -s and -o are specified.
2021-11-26 08:33:40 +00:00
Daniel Shahaf
067f570f23
unposted: Add ChangeLog for the previous commit.
2021-11-26 08:33:27 +00:00
Daniel Shahaf
709f1057b7
47599 (tweaked): New test for '{foo,bar}' in command position
...
It's currently treated as a list but should perhaps be a brace expansion.
2021-11-26 08:30:08 +00:00
Oliver Kiddle
16d5d6a9da
49597: add a helper for completing numbers with unit suffixes and separate out defaults, ranges and units in completion descriptions
2021-11-24 23:09:38 +01:00
Jun-ichi Takimoto
138f5bf144
49586: fix :a and :A modifiers (with PWD="/") on Cygwin
2021-11-22 18:21:29 +09:00
Oliver Kiddle
973e356c34
49594: adapt to changes in 49499 to ensure file modes starting with dash aren't taken to be flags
2021-11-19 21:54:50 +01:00
Oliver Kiddle
8cf76fb8f9
49584: allow for build options in gem install completion
2021-11-19 21:50:33 +01:00