1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-16 12:21:18 +02:00
Commit graph

4699 commits

Author SHA1 Message Date
Christopher Bock
454bc91dea github #137: completion: add cacaclock (caca-utils)
with minor tweaks to fix things lost when addressing feedback
2025-05-25 02:36:36 -05:00
Daniel Shahaf
f24958a7ab unposted (mentioned on github #134): __git_worktrees: Match the order of $(git worktree list).
The output of __git_worktrees() now matches the output of `git worktree list`
exactly, modulo the 'list-separator' style.
2025-05-18 03:06:59 +00:00
Daniel Shahaf
2ccf41e577 github #134 (+ implement commit review suggestion): __git_worktrees: Use a library function
Using _describe makes the completions and descriptions line up in
columns, and makes the function honour the list-separator style.
2025-05-18 03:06:16 +00:00
Christopher Bock
ead0dd6b76 github #133: _which: complete whence -x 2025-05-14 15:05:10 -05:00
Eric Cook
b86f5d4c62 53463: _hosts: allow overriding the default matching control 2025-04-20 09:46:27 -04:00
Mikael Magnusson
e19cfe7cac _typeset: fix typo 2025-04-14 02:11:45 +02:00
Kyle Andelin
73c70cece0 53449: do not complete indices for empty array subscripts 2025-04-04 20:57:51 +02:00
Oliver Kiddle
5858f6a122 53445: extra-verbose mode support on some recent Linux and BSD systems 2025-04-04 12:49:31 +02:00
Oliver Kiddle
eb8e217f1b 53395: complete snapshot ranges for zfs destroy 2025-02-28 20:58:34 +01:00
Ronan Pigott
f77e469ad6 53393: Complete python module arguments
Python modules can behave like commands in their own right. This allows
modules to define _python_module-* functions that are used to complete
module arguments. Also gets the ball rolling by defining completions for
venv, http.server, and json.tool.
2025-02-28 20:54:22 +01:00
Vadim Misbakh-Soloviov
1818323f45 github #129: fix _gpg completion
1) As for now, `--local-user` completion is irrelevant: it completes system users, while gpg expects private keys IDs

2) `secret-keys` completion was also broken and completed nothing.
The reason of that to happen was in that fact that it assumed `uid` token would be next after `fpr` (same as it do in public-keys completion), while in current gnupg versions there is at least `grp` token, and potentially can be others.
So, instead i+=2 I made `until "uid"` loop.
2025-02-27 16:07:36 +01:00
Oliver Kiddle
2e08ea1aef 53358: adapt completion to reflect 53348 and extend exclusion lists to cover more + options 2025-02-13 23:11:09 +01:00
Eisuke Kawashima
8cddd97297 github #118: completion(git-rebase): non-interactive mode also supports --autosquash 2025-01-30 13:02:39 +01:00
Oliver Kiddle
13417c2701 53338: complete typeset -n option 2025-01-30 12:53:48 +01:00
GI
45b79fa2cb github #128: Updated completion for neovim 2025-01-27 23:45:22 +01:00
Wu, Zhenyu
a61b105795 github #126: Fix some typos 2025-01-27 23:39:05 +01:00
Kouhei Yanagita
9f9ceb7768 github #125: Add completion for irb --no-pager 2025-01-27 23:35:03 +01:00
Oliver Kiddle
a07ff879c0 unposted: fix quoting in openldap completion 2025-01-27 23:35:03 +01:00
Oliver Kiddle
65285fac23 53327: update for git 2.47 2025-01-27 23:35:03 +01:00
Oliver Kiddle
4e4274eda6 53328: completion options update 2025-01-27 23:34:59 +01:00
Oliver Kiddle
f3b865b915 53326: completion updates for core Linux utils 2025-01-27 23:06:16 +01:00
Oliver Kiddle
87aba4d437 53325: cover newer BSD releases in completion 2025-01-27 23:00:17 +01:00
Bart Schaefer
db01c79cf8 Julian Prein: 53309: remove uncommon / obsolete options -t and -W 2025-01-20 10:57:58 -08:00
dana
32cd93bcb0 unposted: _zparseopts: update per workers/53260 2025-01-02 17:13:04 -06:00
dana
7798fd88ac 53251: _man: fix page completion on macOS, update fall-back paths, etc.
- fix broken page completion on macOS and FreeBSD (regression caused by
  workers/50278)

- update fall-back paths to include /usr/local/share/man (fixes issues like
  workers/53249 for systems without `manpath` or equivalent)

- fold macOS completion into FreeBSD's, as macOS 13+ uses it now with little
  modification

- add -K option for FreeBSD and -h option for mandoc/NetBSD, complete
  pre-processor sequences, complete section lists with commas for man-db

- exclude HTML pages for FreeBSD-likes
2024-12-16 11:01:23 -06:00
Wu, Zhenyu
cdb457841c github #122: Add c17, iso9899:2017, c18, iso9899:2018, gnu17, gnu18, c++20, gnu++20, c++23, gnu++23 to gcc completion 2024-11-23 23:20:27 +01:00
Shlomi Fish
9269deb528 github #123: Make okular's completion support *.epub files. 2024-11-23 23:19:59 +01:00
Ryan Rotter
d7866eff3b github #124: _dpkg: remove --largemem, --smallmem options
These options were deleted in 2009:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468106
2024-11-23 22:37:06 +01:00
Jun-ichi Takimoto
b70b241cc5 53238 (+53239 Mikael): support dnf5
some options etc for dnf4 are also updated
2024-11-21 12:26:51 +09:00
Bart Schaefer
ec8fc4024f Karel Balej: 53240, 53241: updated completions for mpc add, mpc insert 2024-11-12 19:48:56 -08:00
Eric Cook
393cb298aa 53174: add Completion/Base/Utility/_as_if 2024-11-11 10:46:08 -05:00
Eric Cook
9b8af0900f 53144: _sysctl: support completion with the dot delimiter on linux 2024-11-11 09:27:52 -05:00
Philip Sequeira
91c56ed27a 53095: fix completion for chmod/chown --reference with escaped filename 2024-09-18 11:08:08 +02:00
Oliver Kiddle
6bc8c60933 unposted (c.f. Emil Velikov: 53072): remove completion that has been imported by the upstream project 2024-09-14 19:49:06 +02:00
Clinton Bunch
58bda59130 53056: new zsh/random module defining an SRANDOM parameter and zrand_float() and zrand_int() math functions 2024-08-31 13:12:10 +02:00
Semnodime
06e66b6b5a github #120: Update _git to reflect --recursive being an alias
`--recursive` and `--recurse-submodules` are aliased according to 99c33bed56/builtin/clone.c (L105)
2024-08-31 12:09:26 +02:00
Oliver Kiddle
45f8ee1bee 53058: new completion for zstd 2024-08-31 12:02:48 +02:00
Oliver Kiddle
6973d1d16f 53057: complete glob qualifiers following an equals expansion 2024-08-31 12:01:33 +02:00
Oliver Kiddle
678fb68879 53052: update setxkbmap completion with newer options 2024-08-31 11:58:33 +02:00
Christian Heusel
8a811b369b 53031: Completion/Unix/Command/_git: add missing terminator in case statement 2024-08-13 22:32:34 -04:00
Eric Cook
5cb32ec5ab 52989: _rsync: support rsync 3.2.4+ remote filename handling. 2024-08-03 20:07:51 -04:00
Mikael Magnusson
9a79a60c90 52946: Revert "Handle completer filenames with funny characters in them"
This reverts commit 88f47569030b12345aee3bd857e424351ee61726.
2024-06-08 17:52:59 +02:00
Bart Schaefer
7f196de9d7 52904: Improve quoting of paths passed via _call_program to "git ls-files" 2024-05-24 19:22:44 -07:00
Mikael Magnusson
bd19d4e394 52895: Partial revert of 44274 which broke _baudrates
_description does not accept -o numeric, which resulted in
_description:zformat:89: invalid argument: expl

The array is already sorted correctly in the completer so I don't see
any need to have the completion sort it again anyway.
2024-05-20 20:19:06 +02:00
OKURA Masafumi
f57ad185b3 github #115: completion(ruby): completer opts for irb
IRB now has `--regexp-completor` and `--type-completor` options added by:
1dec2708c9
2024-04-01 23:29:36 +02:00
Oliver Kiddle
a967c4a435 52859: use _date_formats for fc and complete -m/-M for vared 2024-04-01 23:27:09 +02:00
Oliver Kiddle
c7ae370160 52798: handle comments in ssh config 2024-03-26 00:06:05 +01:00
Mikael Magnusson
b727b74fe2 52768: Handle completer filenames with funny characters in them
For example, a file called _foo;bar will cause this to happen:
% hello [press tab]zsh: command not found: _foo
zsh: command not found: bar
2024-03-23 22:19:27 +01:00
Oliver Kiddle
93334b207f 52770: handle newrole in SELinux completions 2024-03-18 21:34:38 +01:00
Oliver Kiddle
1e995cbb38 52769: fix completion of ansible keywords and --step option 2024-03-18 21:12:55 +01:00