mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
Changelog: =========== * _comp_abspath:** handle ".." * _comp_compgen_filedir,_comp_compgen_filedir_xspec:** don’t suggest . nor .. nor */. nor */.. unless the user input is .. or */.. * associate unzip and friends with *.vsix * curl:** Complete "%", "-" for --trace[-ascii] * curl:** Complete files for --json, --write-out * curl:** Complete stdin "-" in file locations * fprintd-*:** new completions * iftop:** -G, -s, -L, and -o arg (non-)completions * ip:** complete ip ntable show * java:** enable .java filename completion for java command * kata-runtime:** add 3rd party fallback completion loader * nerdctl:** add 3rd party fallback completion loader * ngrok:** add 3rd party fallback completion loader * openssl:** Stop having subcommands hardcoded * python,pyvenv:** versioned 3.13 executable support * set:** more featureful completion * slabtop:** new completion * sops:** add 3rd party fallback completion loader * tar:** use long option compression options * todoist:** add 3rd party fallback completion loader * uv:** add 3rd party fallback completion loader * uvx:** add 3rd party fallback completion loader * wine:** complete with '*.bat' and '*.cmd' * xv:** associate with *.webp and *.pnm * xxd:** add -n, -o, and -R arg (non-)completions * _comp_compgen:** use 'compgen -V array_name' in 'bash >= 5.3' * _comp_expand_glob:** set LC_COLLATE for the sorting order * _comp_expand_glob:** work around GLOBSORT in Bash 5.3 * compatdir:** use _comp_expand_glob for the correct order * curl:** Complete all and category for --help * dpkg:** Add missing short option -R * rsync,ssh:** do not overescape spaces in remote filenames * source files using absolute paths for absolute BASH_SOURCE * tar:** Complete added files with long opts * update-alternatives:** fix the "--help" parsing (From OE-Core rev: 35ab69c7b824cb51b5bf869beb16eb118331c176) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
39 lines
1.2 KiB
BlitzBasic
39 lines
1.2 KiB
BlitzBasic
SUMMARY = "Programmable Completion for Bash 4"
|
|
DESCRIPTION = "Collection of command line command completions for the Bash shell, \
|
|
collection of helper functions to assist in creating new completions, \
|
|
and set of facilities for loading completions automatically on demand, as well \
|
|
as installing them."
|
|
|
|
HOMEPAGE = "https://github.com/scop/bash-completion"
|
|
BUGTRACKER = "https://github.com/scop/bash-completion/issues"
|
|
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SECTION = "console/utils"
|
|
|
|
SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz"
|
|
|
|
SRC_URI[sha256sum] = "976a62ee6226970283cda85ecb9c7a4a88f62574c0a6f9e856126976decf1a06"
|
|
GITHUB_BASE_URI = "https://github.com/scop/bash-completion/releases"
|
|
|
|
PARALLEL_MAKE = ""
|
|
|
|
inherit autotools github-releases
|
|
|
|
do_install:append() {
|
|
# compatdir
|
|
install -d ${D}${sysconfdir}/bash_completion.d/
|
|
echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion
|
|
|
|
}
|
|
|
|
RDEPENDS:${PN} = "bash"
|
|
|
|
# Some recipes are providing ${PN}-bash-completion packages
|
|
PACKAGES =+ "${PN}-extra"
|
|
FILES:${PN}-extra = "${datadir}/${BPN}/completions/ \
|
|
${datadir}/${BPN}/helpers/"
|
|
|
|
BBCLASSEXTEND = "nativesdk"
|