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
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
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