1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-02 13:26:03 +02:00
Commit Graph

4631 Commits

Author SHA1 Message Date
Oliver Kiddle 5c7a97ff7d unposted (cf. 52167): mutt's -a takes a list of files terminated by -- 2023-11-14 21:19:30 +01:00
Oliver Kiddle 424746982b 52301: update options in completions for ruby 3.2, gem 3.4.10 and ri 6.5 2023-11-14 20:39:23 +01:00
Oliver Kiddle c3cb5a3e0c 52300: update completion options for ansible 2.15.2 2023-11-14 20:36:43 +01:00
Oliver Kiddle d8a3bff4f5 52280: update git completion for new options in git through to version 2.42.0 2023-11-09 16:48:12 +01:00
Shotaro Aoyama 2573786fd3 github #105: add "-I" for "zle" completion 2023-11-08 02:48:20 +01:00
Eric Cook 7cd5b7f1fc 52168: add completion for xfce's xfconf-query(1) 2023-11-08 02:42:04 +01:00
Oliver Kiddle 364ecf7099 52268: update nmcli completion to networkmanager 1.42.2 2023-11-02 16:26:16 +01:00
Oliver Kiddle 8e65233747 52266: update completion for strace to 2.6.5 2023-11-02 15:02:31 +01:00
Oliver Kiddle 491e268e8b 52265: update completions for some util-linux tools to version 2.39.2 2023-11-02 14:59:19 +01:00
Oliver Kiddle a9b0ccd661 52260: handle variable assignments before the command in sudo completion 2023-11-02 14:49:23 +01:00
Shohei Yoshida 8ebbf25a71 52179: Fix gradlew completion when it isn't in PATH 2023-11-01 00:31:10 +01:00
Ulysse Buonomo 97e4310563 github #102: Ensure todo.sh completion uses builtin commands
the `todo.sh` script allows redefining commands locally, which can mess
up this completion script. We are using the `command` subcommand to
avoid that.
2023-10-29 17:36:29 -05:00
Christian Heusel 5fd8cccf54 github #103: fix completion for zpool upgrade
This is done by simply adding a missing backslash to the code.

Fixes: 85bf9740a0 ("49668: update zfs completion")
Signed-off-by: Christian Heusel <christian@heusel.eu>
2023-10-24 20:39:18 -05:00
Mikael Magnusson c9da370470 52056: _sccs: don't handle subcommands in main namespace
If someone using sccs wants to save typing, they can just do
alias get="sccs get" anyway.
2023-10-16 10:34:15 +02:00
Oliver Kiddle 70320635b4 52189: ignore compadd -M if -U also specified as they don't make sense together
This fixes df completion.
2023-10-11 01:06:50 +02:00
Oliver Kiddle 985952e2f6 52217: update completions for FreeBSD 14 2023-10-11 00:57:16 +02:00
Wim de With 12b61965b5 51857: Include fusermount3 in fusermount completions
fusermount3 is part of libfuse version 3, while fusermount is part of
libfuse version 2. Since they share the exact same command line
interface, we can reuse the completions.
2023-09-20 20:21:50 +02:00
Atte Peltomäki d92b1a3547 51980: Add glob qualifier grouping operator to completion
Also improve wording in documentation to make glob qualifier grouping
easier to find by explicit use of terms 'logical OR' and 'logical AND'.
2023-09-20 20:17:09 +02:00
Jörg Sommer bfc419e0c6 52102: Add subcommand autopurge to apt completion
Autopurge (like autoremove) take the same options like purge and remove the
given packages along with their dependencies they become unused.
2023-09-20 20:08:12 +02:00
Wesley Schwengle fa17566b65 52141: Add trailer token completion for git commit --trailer
Via 842587016d in the git project there has been support for git commit
trailer tokens for the bash completion system. This commit adds similar
support to zsh. It includes additional hardening of the regexp and
allows for tokens which include a '.'. This can be found in git via
9a0ec17606.
2023-09-20 20:00:10 +02:00
Oliver Kiddle d3394f3593 52163: completion update for OpenZFS 2.2 2023-09-20 19:49:49 +02:00
Mikael Magnusson aecef41f2e 52142: Move _history_modifiers call to _parameter
_parameters is used in many contexts, like assignments in command
position, assignment after typeset, etc, where history modifiers are not
valid. _brace_parameter already calls _history_modifiers explicitly so
this seems more in line with that.
2023-09-15 21:09:51 +02:00
Bart Schaefer d95197a2ec unposted: extra quoting of words in "eval" for safety 2023-09-09 22:11:50 -07:00
Jun-ichi Takimoto d82ea848bf 52114: improve _nice
support -n option, complete only external commands
2023-09-07 22:37:16 +09:00
Jun-ichi Takimoto c0caef5613 52112: use '_normal -p subcmd' to complete only external command 2023-09-04 15:07:52 +09:00
Shohei YOSHIDA a8853323dd 52098, 52099, 52100, 52105(+minor tweak): update for latest macOS 2023-08-28 13:12:50 +09:00
sergio 53fe16e9b5 51858 (+52073): virsh's edit command accepts all domains 2023-08-28 12:02:15 +09:00
Bart Schaefer 5f984319b5 Marlon Richert: 51861: fix _approximate when compadd has been overridden
Before this patch, if compadd had been overridden by a function of the
same name, _approximate would not do corrections.
2023-08-27 15:27:45 -07:00
Bart Schaefer 2a854aae48 52028: improvements to _shadow / _unshadow, plus helper and doc 2023-08-27 15:22:14 -07:00
Shohei YOSHIDA 660a629864 52034: update sqlite3 completion for version 3.42.0 2023-08-27 14:59:03 -07:00
Shohei YOSHIDA d36b9ae0dc 52059 (+52070): _scons: fix for options --jobs and --question 2023-08-21 17:35:25 +09:00
Jun-ichi Takimoto 9b9870a6dc 52037: complete only external commands for env/watch
also includes a few minor fixes for _date, _env and _watch
2023-08-14 15:51:12 +09:00
Shohei YOSHIDA 40a6265aa3 52013,52014,52015,52016,52017,52018: updates for coreutils option changes 2023-08-06 13:35:20 -07:00
HexorCatZ 95269147fc github #100: _qemu: add -enable-kvm and -bios suggestion 2023-07-31 16:31:03 -05:00
Shohei YOSHIDA 5ff23c2c6d 51979: Update free completion for procps-ng version 4.0.3 2023-07-26 20:01:06 -07:00
Shohei YOSHIDA ec61c9a5c0 51964: support pidof variants other than procps 2023-07-26 19:58:00 -07:00
Shohei YOSHIDA 1ac393169a 51927: Update procps watch completion for version 4.0.3 2023-07-26 19:44:51 -07:00
mirsella 5ec4695033 github #99: _trash: add completion for trash-d
https://github.com/rushsteve1/trash-d
2023-07-19 23:13:58 -05:00
Jun-ichi Takimoto c4ec7442f1 51897: update _softwareupdate
based on 51895 (Shohei YOSHIDA)
2023-07-10 22:13:52 +09:00
Marlon Richert 6c993144bd 51860: simplify suffix handling in _prefix to remove less accurate hack
This solves the following problems in the _prefix completer:
- The old code had logic for dealing with compstate[unambiguous] that
  was unnecessary. It works fine without it.
- Because of this logic, if a widget set compstate[insert]=1 after
  calling _main_complete, an `x` was left after the completion on the
  command line.
- If the same widget also set `compstate[to_end]=`, then instead, the
  last character of the inserted completion would be treated as an
  autoremovable suffix, with the actual suffix being inserted to the
  line as a normal character.
- After inserting a completion, the cursor would move to the end of the
  entire current word on the command, not the end of word that was
  inserted. This is not what you want with _prefix, since you are trying
  to complete a word _before_ the one on the command line, after which
  you usually want to insert a separator, such as a space or slash,
  before the next word.
2023-06-22 13:13:09 -07:00
Stephane Chazelas 2778fc5d7a 51817: protect ':' in _rcctl
This was in 51817 but missed in commit 0577daf.
Also remove _ant.rej that was added by the commit.
2023-06-08 15:26:41 +09:00
Stephane Chazelas 58852b3246 Protect another : from history modifier expansion 2023-06-06 09:24:31 +01:00
Stephane Chazelas 0577dafcaa Protect some :s from history modifier expansion 2023-06-06 09:22:18 +01:00
Marlon Richert b41dd30c90 51761: Use zstyle verbose for _parameters descriptions
According to the manual, extra-verbose means "more verbose at the cost
of a probable decrease in completion speed". That's not the case here.
2023-05-21 03:28:43 +02:00
Marlon Richert caa1c38c6f 51348: Fix subscript completion bugs inside ~[...]
When completing inside ~[...] (_with_ the trailing `]` present), the
following bugs occured:
- Subscript completion was skipped entirely when there were one or more
  slashes ('/') in the subscript, which is incorrect, since slashes are
  allowed there.
- Instead of going through _complete, $_comps[-subscript-] was called
  immediately, causing _setup to be skipped.
- If succesful, _main_complete was exited right after, causing
  menu-style, comppostfuncs and other essential completion features to
  be skipped.
2023-05-21 03:24:17 +02:00
Marlon Richert 9a5f213573 51759: Show alias values in command completions
Show the value of each alias when descriptions are shown. Enabled by default.
2023-05-21 03:14:27 +02:00
Marlon Richert bb441f77a7 51758: Make dynamic dir completion easier to implement 2023-05-21 03:05:20 +02:00
Vidhan Bhatt 51d5ddb02b github #98: feat: add `shortcuts` completions 2023-05-13 00:31:47 +02:00
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