1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-01 21:51:40 +02:00
Commit graph

4577 commits

Author SHA1 Message Date
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
Sven Joachim
6725cbc05f Sven Joachim: 51563: Fix unmatched double quote 2023-03-13 19:44:25 -07: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
Sebastian Stark
bb36b80178 51470 (tweaked, c.f. 51476): Separate cdpath elements in path-directories completion 2023-02-24 14:40:38 +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
Oliver Kiddle
e2a39513dc unposted: mention attributes changes, fix renumbering mistake and allow completion to offer prompt escapes for PROMPT_EOL_MARK 2023-01-11 16:05:06 +01:00
Nathan Houghton
996b515156 51276: Fix diff completion for non GNU / FreeBSD platforms
On OpenBSD, "diff -urpN dir1/ di<TAB>" would refuse to complete a second
filename/directory name. This was caused by the -u and -U options
getting dropped from args (overwriting args vs appending).
2023-01-10 20:36:31 +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
Bart Schaefer
48f36784a8 51047: fix quoting of completion matches when _canonical_paths -N option is used 2022-12-09 19:21:45 -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
Bart Schaefer
0a69a2f6cb 50399: Completion/Base/Widget/_complete_debug
Properly local scope PS4 change
2022-09-28 17:11:08 -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
Jun-ichi Takimoto
8e1c6ed6bf 50421: add context as the 1st arg to _dispatch 2022-07-24 21:08:06 +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
a99f96797f 50323: create helper for shadowing builtins or existing functions and use it when redefining compadd et al. 2022-06-04 14:19:42 -07:00
Bart Schaefer
8756cc6add Marlon Richert: 50307 (cf. PWS 50205): suffix aliases should not collide with directory names when completing 2022-05-30 12:02:50 -07:00
Norbert Lange
dd2c882ae1 github #94: Support .zst kernel modules with modutils 2022-05-25 22:51:02 -05:00
Norbert Lange
c1f1bbc5b9 github #93: Replace /etc/mtab with /proc/self/mounts for Linux
/proc/self/mounts has been available since Linux 2.4.19,
released in 2002. /etc/mtab is usually a symlink to this
file but might not exist
2022-05-25 22:50:48 -05: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
dana
eec9882d04 50176 (tweaked): Improve htop completion
* Correct -v to -V
* Make -u argument optional
* Enable option stacking
* Improve descriptions
* Fix broken sort keys with htop 3.x and add new key descriptions
* Remove _sequence limit on -p
* Add several missing options

+ Fixed a typo and an erroneous comment in the original patch

Thanks to GitHub user xpufx, whose work formed the initial basis of this
change (see zsh-users/zsh pull #89)
2022-05-08 01:32:04 -05:00
Bart Schaefer
67d9a47d79 50184: fix inclusion of -S separator in -r options passed to compadd through _describe 2022-05-07 16:54:31 -07: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
Bart Schaefer
a270da2ada unposted (cf. users/27656 (Tomasz Pala), users/27660): fix $SUFFIX when GLOB_COMPLETE 2022-04-19 22:44:30 -07:00
Jun-ichi Takimoto
f5b2d65337 50017: allow lowercase to match with uppercase in timezone name 2022-04-12 16:01:37 +09:00