1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 08:30:54 +02:00
Commit graph

2293 commits

Author SHA1 Message Date
Shohei YOSHIDA
8bee6e6f92 51340: update _rake for version 13 2023-05-11 11:48:32 -07:00
Shohei YOSHIDA
ace2822019 51331: update _pydoc for version 3.11 2023-05-11 11:44:38 -07:00
Jun-ichi Takimoto
ba3631b414 51663: fix a typo in 51582 (_ssh) 2023-04-18 13:03:39 +09:00
Shohei YOSHIDA
121810dba6 51589: Update nm options
- Update Binutils nm 2.40.0
- Update elftoolchain nm 0.7.1
2023-03-27 21:14:47 +02:00
Oliver Kiddle
324d0e7cc7 51603: complete dates and times in the form that git accepts 2023-03-27 21:11:34 +02:00
Oliver Kiddle
9bd477dce9 51583: update completion of git attributes 2023-03-16 22:16:52 +01:00
Oliver Kiddle
6386dd94fd 51582: openssh 9.3 completion update 2023-03-16 22:15:28 +01:00
Oliver Kiddle
ea229be4cf 51581: update completions to cover changes in OpenBSD 7.2 2023-03-16 22:12:48 +01:00
Oliver Kiddle
211682b78f 51539: don't complete diff options to git blame 2023-03-11 13:52:05 +01:00
Shohei YOSHIDA
d76004588b 51473: Update cal/ncal completion
- Support util-linux and bsdmainutils cal on Linux
- Support each BSD's implementations
2023-02-24 14:43:27 +01:00
Oliver Kiddle
f604645d06 51474: make -e and --vault-id options repeatable and update for new options to ansible 2.13.2 2023-02-24 12:34:14 +01:00
Oliver Kiddle
76be800073 51456: complete only modified files with git add -u
Also fix a typo, add a missing =, add a prompt for function name after
git blame -L and git worktree --force has gained a short -f form.
2023-02-19 17:25:17 +01:00
Oliver Kiddle
c83ce203f5 51455, 51461: new completion for the OpenLDAP client tools including a helper function for LDAP search filters 2023-02-19 17:20:35 +01:00
Øystein Walle
619cf4fbd5 51391: complete remote branch names respecting --delete for git push 2023-02-17 23:35:39 +01:00
Shohei YOSHIDA
f264fcde80 51330: Update python3 completion for version 3.11 2023-01-27 18:30:19 +00:00
Shohei YOSHIDA
ba834fa53c 51326: Improve -fsanitize option completion
- Support comma separated completion
- Accept multiple `-fsanitize` options
2023-01-24 09:00:07 +00:00
Shohei YOSHIDA
f54ed0b76a 51322 (+ minor tweak): Update gnu make completion for version 4.4
Add `--jobserver-style`, `--shuffle` and `--trace` options
And delete '--warn-undefined-functions' option. This option was implemented
only in redhat's older make and the official gnu make has never supported it.
2023-01-22 14:35:08 +00:00
Bart Schaefer
37569049f0 51313: fix "git rerere forget" completion 2023-01-21 19:21:30 -08:00
Jörg Sommer
3a08f68288 51256: Add --refetch to completions of git-fetch 2023-01-11 16:08:43 +01:00
Daniel Shahaf
4ad99ab788 unposted (cf. users/28616): _svnadmin: Add comment noting a case that's not completed correctly. 2023-01-06 12:59:07 +00:00
Shohei YOSHIDA
92316b70ff 51255: Update erb completion for version 4.0.2 2022-12-31 14:16:18 +01:00
Shohei YOSHIDA
7b50d62080 51254: Add irb completion for version 1.6.2 2022-12-31 14:16:18 +01:00
Shohei YOSHIDA
1ff0f12a9a 51253: Update ruby completion for version 3.2.0 2022-12-31 14:16:18 +01:00
Shohei YOSHIDA
4f1544a628 51233: Update sanitizer list to GCC 12
Add following sanitizers

- bounds-strict
- hwaddress
- kernel-address
- kernel-hwaddress
- leak
- pointer-compare
- pointer-subtract
- shadow-call-stack
- shift-base
- shift-exponent
- thread
- undefined

And sort the list in alphabetical order
2022-12-31 14:16:15 +01:00
Daniel Shahaf
bc7511bdd8 51249: use of --force-local with tar completion 2022-12-30 20:48:48 +00:00
Shohei YOSHIDA
72540a758a 51111: update completion for global to version 6.6.8 2022-12-09 19:27:31 -08:00
Shohei YOSHIDA
2473d83521 51108: single letter forms of Shift-JIS / EUC-JP options were reversed 2022-12-06 20:47:10 -08:00
Oliver Kiddle
e4aeb3b911 unposted (c.f. Norikatsu Shigemura: github #96): add missing local declaration 2022-11-17 21:10:28 +01:00
Matt Koscica
dbefe08f3e github #87 (tweaked): update options tmux 3.4
Import completion updates from tmux.git, the revision used was
c67abcf8182b, and the updates were generated by Util/check-tmux-state.

check-tmux-state: changes to output parsing + variable declaration

parsing of `tmux show-options` is slightly more idiomatic (thanks to
@phy1729 for the syntax), and it now also ignores user-specified options
(which are prefixed with an @ symbol).

the lines defining and declaring supported_server_options were also
swapped to the correct order - `typeset` was being called after
supported_server_options was populated, contrary to all the other
supported_*/available_* arrays used in the same area of the file.
2022-11-17 20:47:15 +01:00
Wu Zhenyu
ca87b7e43f github #95: Add completions for neomutt 2022-11-17 20:18:09 +01:00
Oliver Kiddle
f0aa42e7e5 unposted (c.f. Denis Bitouzé: users/28405): handle also lualatex 2022-11-17 20:10:52 +01:00
Peter Grayson
0a66d6f3ec 50844: Remove _stgit completion script
The StGit project ships its own zsh completion script which is more
complete and up-to-date than those shipped with zsh.

https://github.com/stacked-git/stgit/blob/master/completion/stgit.zsh

Also, the _stgit completions that ship with zsh, which dynamically parse
StGit's help output, will be broken by the upcoming StGit 2.0 release
due to changes in the help output.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
2022-10-31 08:56:47 +00:00
Bart Schaefer
a7e4394d1b 50714: also complete in the 2nd argument of "git diff" anything that could
be in the 1st argument.

This probably shouldn't complete ranges but all other code is in common,
so leaving it to someone more familiar with _git to clean up.
2022-10-22 20:26:23 -07:00
Eric Cook
c901c1e412 50695: Completion/Unix/Command/_mysql_utils add --protocol option 2022-09-28 17:59:48 -04:00
Daniel Shahaf
eb738c793a unposted: _imagemagick: Add *.svg and *.webp files.
As a comment just above the hunk indicates, many more formats could be added.
2022-08-28 16:45:53 +00:00
Jun-ichi Takimoto
7996fa561e Felipe Contreras: 50435+50436 (+50444): do not build anything
Use 'make -nqp' to ensure nothing is actually built by completion.
Also include some performance improvements, but it can be still
rather slow in a large project's source tree.
2022-08-05 22:53:31 +09:00
Bart Schaefer
13c6b64838 users/27852: local _compskip to avoid propagating any changes by _normal 2022-07-16 20:53:59 -07:00
Bart Schaefer
1e52cd968d 50278: use man -w in preference to manpath; fix caching and precedence of -M 2022-05-22 15:50:45 -07:00
Arvid Norlander
a54d704579 github #91: _find (gnu/freebsd/darwin): Add some flags and syntaxes
* -exec and -execdir can take ; or + as an ending marker. Previously only ; was
  supported. This is part of POSIX for -exec (support for + for -ok is optional
  and none of the implementations I looked at seem to support that).

* Missing completion for -files0-from (GNU find 4.9.0 and later). This flag
  needs to go with the global flags at the beginning and load the paths from
  the given file instead of from the command line.

* Missing completion for the -newerXY family of flags (GNU find 4.3.3, also
  available in FreeBSD and MacOS at least).
2022-05-20 21:50:50 +00:00
Bart Schaefer
44829c19e8 Marlon Richert: 49954: gradle completion improvements
* Adjust the pattern for matching tasks. The old one was too strict,
  causing it to filter out perfectly valid tasks.
* Add completion of subproject names.
* Prevent subproject tasks from overwriting the main task description.
* Require `:` prefix for showing subprojects.
* Require a subproject prefix before showing subproject tasks.
* Standardize the use of completion tags.
* Rebuild the cache if it can't be read or doesn't contain the required
  arrays.
2022-05-07 16:50:59 -07:00
dana
f59025f849 unposted: Fix util-linux variant detection in _getopt
This had been broken all along for the actual util-linux getopt; i think the
'enhanced' text comes from the original author's version, which Homebrew was
still using when the function was written
2022-04-26 21:54:29 -05:00
Mikael Magnusson
29f97c1f94 49968: _adb: also replace model names, since device names aren't sent on wifi listing 2022-04-03 18:34:03 +02:00
Mikael Magnusson
4d8f36704e 49967: _adb: Handle dumpsys SurfaceFlinger arguments 2022-04-03 18:34:02 +02:00
Mikael Magnusson
8537738207 49966: _adb: Parse device spec correctly
This was particularly annoying when trying to complete logtags after adb logcat -s
2022-04-03 18:34:02 +02:00
Mikael Magnusson
6900dded09 49965: _adb: use $CURRENT instead of $#words 2022-04-03 18:34:01 +02:00
Mikael Magnusson
a07d010981 49964: _adb: Complete services for start/stop 2022-04-03 18:34:00 +02:00
Mikael Magnusson
1b62a5a0af 49963: _adb: Fix device serial completion for hostname:port syntax 2022-04-03 18:33:59 +02:00
Mikael Magnusson
8a60e2e214 49962: _adb: Add dumpsys and cmd completion 2022-04-03 18:33:58 +02:00
Mikael Magnusson
76b573fcbd 49961: _adb: handle exec-out like shell 2022-04-03 18:33:57 +02:00
Peter Stephenson
57305cf245 49875: completion for info -f.
Use local files if there's a slash in the argument.
2022-03-24 10:37:39 +00:00
Matthew Martin
78649ac725 49852: Add _routing_domains and _routing_tables types 2022-03-18 20:52:18 -05:00
Jun-ichi Takimoto
ef60187efc 49766: _less: add quotes to -" and -# 2022-02-23 11:39:33 +09:00
Jun-ichi Takimoto
a692b980cb 49765: _less: add option --color as synonym for -D 2022-02-23 11:24:39 +09:00
samcarter
b745b06eb3 49757 (sourceforge #1): offer *.dtx as TeX input files 2022-02-16 13:16:19 +09:00
Jun-ichi Takimoto
fc18b7c8a2 49730: new completions for csplit, pr, ptx, truncate 2022-02-04 21:17:00 +09: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
Andreas Schneider
af0f497247 gitlab !17: Add missing options for quilt setup command 2022-01-23 10:46:52 +00: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
Oliver Kiddle
b7490d3376 49655 based on 34928 (Daniel Hahler): new pip completion 2021-12-21 01:20:01 +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
e2ad321c88 49633: update options for git 2.34 2021-12-07 07:35:59 +01:00
Oliver Kiddle
9fc0e319c9 49631: new logger completion 2021-12-02 21:03:57 +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
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
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
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
Dimitris Apostolou
356dcb20ce github #82: Fix typos 2021-11-12 23:54:34 +01:00
Oliver Kiddle
9c515a5a2f unposted: fix case statement fall-through for ansible-galaxy role completion 2021-11-12 22:00:10 +01:00
Oliver Kiddle
4e9d0075f4 49519: quote completed options as needed and remove the now superfluous quotes from option specifications 2021-10-26 18:35:36 +02:00
Xavier Hsinyuan
0f1e4d8e78 github #79 (tweaked): _ssh: update options in apple's version of ssh-add 2021-10-16 20:23:41 -05:00
Matthew Martin
713588e235 49441: _timeout: Add OpenBSD 2021-10-13 22:02:40 -05:00
Marlon Richert
1e9013941e Add support for multi-project builds to _gradle 2021-09-28 23:50:31 +02:00
Bart Schaefer
c0e5b212f3 48832: try _gnu_generic first 2021-09-06 12:20:27 -07:00
Shohei YOSHIDA
c843af635a 49343: Fix file name completion of GNU digest utilities 2021-09-04 13:28:26 +02:00
Oliver Kiddle
b60bab1cc1 49345: fix git file completion for paths starting with ../ 2021-09-04 13:11:07 +02:00
Oliver Kiddle
64befeb4ca 49327: complete for new git maintenance, for-each-repo, sparse-checkout and bugreport commands 2021-08-29 17:12:56 +02:00
Oliver Kiddle
a9386df558 49319: completion options update 2021-08-29 17:08:34 +02:00
Oliver Kiddle
12676c0f9f 49317: cleanup inappropriate use of {...} specs with _arguments or _alternative 2021-08-29 17:05:39 +02:00
Oliver Kiddle
f529d54f43 49316: add (-.) glob qualifier to globs where only files are applicable 2021-08-29 17:00:05 +02:00
Oliver Kiddle
76de0b05da 49315: list units in brackets at the end of group descriptions 2021-08-29 16:55:25 +02:00
Štěpán Němec
5ef55de65e 49234: add missing options in python completion 2021-08-27 08:51:32 +02:00
DCsunset
cd89e1937d github #78: Fix completions in _pandoc 2021-08-24 02:16:45 -05:00
Oliver Kiddle
78961f8870 49268: use an empty string search to find matches for info --index-search= completion
Also include info output to the right of " -- " for further info node
completion matches and fix quoting of a blank argument to _call_program.
2021-08-16 02:44:49 +03:00
Oliver Kiddle
71ff799b3c 49160: fix quoting for xmllint --pretty completion 2021-08-16 02:44:22 +03:00
Oliver Kiddle
6e10067ffd 49158: remove superfluous function definitions 2021-07-11 00:32:34 +02:00
Oliver Kiddle
e9203d04aa 49157: fix uses of literal % characters in completion descriptions 2021-07-10 23:50:50 +02:00
Oliver Kiddle
35f9585cd1 49156: make wider use of the convention of square brackets for defaults 2021-07-10 23:44:58 +02:00
Oliver Kiddle
efec6bbdb5 49151: remove commas erroneously included in _arguments exclusion lists 2021-07-09 00:32:37 +02:00
Oliver Kiddle
e6fdd35a83 49150: consistently use singular form for headings on completion match groups 2021-07-09 00:23:52 +02:00
Oliver Kiddle
bffe543142 49149: add specific values in completion after ssh-keygen -b depending on the key type 2021-07-09 00:14:02 +02:00
Max Voit
f1d4a07845 49153: cut off .lua extension from module files that occurs when using lmod for module 2021-07-08 23:51:36 +02:00
dana
c6603669a2 48920: _pgrep: Address issues related to -f completion 2021-06-14 22:19:38 -05:00
dana
32450b7c81 48920: _pgrep: Clarify -x description 2021-06-14 22:18:16 -05:00
Oliver Kiddle
f4b2a03625 48952: expand octal codes for record separators in perl completion 2021-06-03 00:12:54 +02:00