bash-completion provides auto-completion for options of and
arguments to hundreds of commands; and a collection of shell functions
to develop those using the bash programmable completion commands.

For more information see the project home page:

        https://github.com/scop/bash-completion

The following packages have been upgraded in the Cygwin distribution:

- bash-completion               2.18
- bash-completion-devel         2.18

See below for changes since the last Cygwin release, or after
installation read /usr/share/doc/bash-completion/CHANGELOG.md:

        https://github.com/scop/bash-completion/blob/master/CHANGELOG.md


2026-07-05      2.18

This release comes with notable changes to the directories used for
looking up and sourcing completion recipes and helpers, allowing for
more flexibility and customization and fewer conflicts between things
shipping with bash-completion and third party/upstream/origin packages.

Files that come with bash-completion itself are located in directories
reserved for that use, their names ending with `-core` and
`-fallback`.

Packages should continue install their files in the same `completions`
and `helpers` dirs like before; these directories precede the
bash-completion "core" ones in lookup order.

New concept of `startup` dirs has been introduced.
Files from these directories are sourced eagerly on bash-completion
startup.

This replaces and allows for more flexibility than using the deprecated
`/etc/bash_completion.d` directory for this purpose.

See README.md for more information.

Features

- _comp__init: source system startup files earlier
- _comp_compgen_filedir: automatically add `-f` on _comp_compgen `-C` or `-P`
- _comp_compgen_filedir: support "filedir -X"
- _comp_compgen_sysv_services: factorize SysV service generation
- aclocal,automake: support versioned 1.17 executables
- aclocal,automake: support versioned 1.18 executables
- apt-*: update known options up to apt 3.2.0
- apt-cache: update known options up to apt 3.2.0
- apt-get: update known options up to apt 3.2.0
- apt-mark: update known options up to apt 3.2.0
- curlie: alias to curl
- curl: more option argument (non-)completions
- doas: add new completion
- doas: generate completions as if we're root
- helium: alias to chromium-browser
- inotifywait2: generate exclude filenames prefixed by `@`
- inotifywait: generate exclude filenames prefixed by @
- ip: Check /usr/share config path
- jq: --rawfile arg (non-)completion
- ogg123: associate opus extension
- pydoc: support versioned 3.13..15 executables
- python,pyvenv: support versioned 3.14 and .15 executables
- ssh-keygen: -M arg completion
- ssh-keygen: -Z argument completion
- ssh-keygen: update -t arg completions
- ssh-keygen: update -Y arg completions
- ssh: do not complete -P arg (tag)
- ssh: include proxy in -O arg completions
- ssh: more option arg (non-)completions
- sudo-rs,sudo.ws: alias to sudo
- sudo: more option argument (non-)completions
- support the "startup{,-core}" directory
- tmux: complete src/target session arguments
- tmux: complete target-session arguments
- xrdb: misc improvements

Bug Fixes

- _comp_compgen_services: fix no completions without sysvdir
- _comp_compgen_services: skip service status marks
- _comp_compgen_sysv_services: do not generate names in subdirs
- _comp_compgen: clear the variable when no completions are generated
- _comp_complete_service: fix init-script-action parsing
- _comp_complete_user_at_host: care about $cur starting with "-"
- _comp_load: deprecate unsuffixed "completions/<cmd>" w/o ".bash"
- _comp_load: drop support for "_<cmd>"
- _known_hosts: fix spacing of an error message
- _known_hosts: work around custom IFS
- _variable_assignments: exclude invalid timezones for "TZ"
- add compatibility wrapper for tail
- alternatives: work around localvar_inherit
- apt-get,ebtables,iptables,mplayer,service: avoid | and \| in sed
- apt-get,gpg{,2},ipmitool,screen: avoid \t, \r, \w in POSIX sed
- ccache: fix a wrong AWK condition
- cd: Complete from . on empty CDPATH entry
- cd: fix cdable_vars overwritten by another generator
- cd: work around bash-4.2 nounset
- compatdir: shadow compat files of the same name
- completion load precedence more
- export: complete options not at $1
- export: suffix "=" only when unique and already complete
- export: work around custom IFS
- fbgs,fbi: add mandatory semicolons before "}" in POSIX sed
- fix non-POSIX sed expressions
- gnokii: use double \\ in [...] for POSIX.1-2024 recommendation
- inotifywait: add `-t` in `noargopts`
- interdiff: move to fallback for the upstream completion
- invoke-rc.d: avoid using non-POSIX \| in sed
- invoke-rc.d: fix a bug of generating existing words
- ipstables,ebtables: fix filtering of chain names
- iscsiadm: separate merged options (--logoutall--show → --logoutall --show)
- jq: --indent arg range
- jq: missing hyphen in --monochrome-output
- lilo,mutt: remove unnecessary escaping \" in sed regexp
- lintian: fix variable leaks
- lintian: use compgen -X instead of sed with non-POSIX \<\>
- load from more new style completion dirs
- miscellaneous fixes after separation of directories
- nsupdate: fix typo "_comp_com{tp => pg}en"
- pkg-get: avoid double expansions
- pkg-get: do not check the command name as arguments
- pkg-get: localize variable "file" properly
- pkg-get: work around localvar_inherit
- pkg-get: work around nounset
- povray: work around bash-4.3 nounset
- shellcheck: avoid non-POSIX \> in sed regular expressions
- tox: move completion to fallback directory
- tshark: rename "_cmp_cmd_tshark__{ => mut_}{prefs,protocols}"
- update-rc.d: fix the usage of the X optarg
- xrandr: remove wrong \ from character range

Performance Improvements

- _comp_compgen_filedir_xspec: avoid double negation `!(!(...))`
- filedir_xspec: avoid double negation !(!(...)) in extglob
- nmcli: reduce uses of the "tail" command
- povray: use glob matching instead of grep

-- 
              *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

The easiest way to unsubscribe is to visit 
<https://cygwin.com/mailman/options/cygwin-announce>, and click 'Unsubscribe'.

If you need more information on unsubscribing, start reading here: 
<https://sourceware.org/lists.html#unsubscribe>.

Reply via email to