Releases: scop/bash-completion
Releases · scop/bash-completion
v2.15.0
2.15.0 (2024-11-24)
Features
- _comp_abspath: handle ".." (d599dcf)
- _comp_compgen_filedir,_comp_compgen_filedir_xspec: don’t suggest . and .. (#1230) (0e7a0cf)
- associate unzip and friends with *.vsix (3c3ab17)
- curl: Complete "%", "-" for --trace[-ascii] (b44b29c)
- curl: Complete files for --json, --write-out (62c0ecb)
- curl: Complete stdin "-" in file locations (9c72cf8)
- fprintd-*: new completions (8aa4914)
- iftop: -G, -s, -L, and -o arg (non-)completions (35293af)
- ip: complete ip ntable show (432f95f)
- java: enable .java filename completion for java command (959ce82), closes #1196
- kata-runtime: add 3rd party fallback completion loader (5ff8055)
- nerdctl: add 3rd party fallback completion loader (cf0591a)
- ngrok: add 3rd party fallback completion loader (#1252) (df48031)
- openssl: Stop having subcommands hardcoded (300b936)
- python,pyvenv: versioned 3.13 executable support (3039122)
- set: more featureful completion (1cb3eae)
- slabtop: new completion (64be5ea)
- sops: add 3rd party fallback completion loader (47af482)
- tar: use long option compression options (0518a21)
- todoist: add 3rd party fallback completion loader (75f5d26)
- uv: add 3rd party fallback completion loader (ba003af)
- uvx: add 3rd party fallback completion loader (499ecab)
- wine: complete with
*.bat
and*.cmd
(01b34cb) - xv: associate with *.webp and *.pnm (#1227) (2dab633)
- xxd: add -n, -o, and -R arg (non-)completions (8304d33)
Bug Fixes
- _comp_compgen: use
compgen -V array_name
inbash >= 5.3
(2b5f9fa) - _comp_expand_glob: set LC_COLLATE for the sorting order (ce98f68)
- _comp_expand_glob: work around GLOBSORT in Bash 5.3 (0fda821)
- compatdir: use _comp_expand_glob for the correct order (51e680a)
- curl: Complete all and category for --help (7eb2eb2)
- dpkg: Add missing short option -R (9891762)
- rsync,ssh: do not overescape spaces in remote filenames (#910) (e8dc253)
- source files using absolute paths for absolute BASH_SOURCE (e1a70c6)
- tar: Complete added files with long opts (c94bebb)
- update-alternatives: fix the "--help" parsing (07605cb)
v2.14.0
2.14.0 (2024-05-09)
Features
- bao: add 3rd party fallback completion loader (af7fbb9)
- cryptsetup: complete --header with filenames (4c9fc87)
- dlv: add 3rd party fallback completion loader (eefe71d)
- env: complete commands and variable assignments (5c75fa3)
- env: treat
-*
as the command name after-
and--
(0cd2883) - env: treat
-*
as the command name after assignments (71b7fb2) - gup: add 3rd party fallback completion loader (>= 0.25.0) (1641f1a)
- incus: add 3rd party fallback completion loader (7108d9c)
- ip: Complete 'route get' options (12fbdb1)
- ip: Complete addr add/change/replace options (8262664)
- ip: Complete ip route list options (43beafc)
- ip: Complete link afstats command (6721346)
- ip: Complete neigh add, del, change, replace (ba80203)
- ip: Complete route save/showdump (606f650)
- iperf: --tos/-S argument completion (d2f59bb)
- ssh-copy-id: (non-)complete args to
-t
and-F
(53fdce4) - ssh-keygen: complete -r/-Y specific -O args (d6977fc)
- ssh-keyscan: complete -O argument (39ea543)
- tofu: add 3rd party fallback completion loader (4edd9a2)
- zarf: add 3rd party fallback completion loader (032f0f0)
Bug Fixes
- comp{compgen,xfunc}: use
declare -F --
for arbitrary funcs (8998491) - comp{load,realcommand}: handle option-like command name (883946d)
- available_interfaces: strip only trailing colon from entries (a452aee)
- bash_completion,conftest: use
complete -p --
for arbitrary cmds (dafd338) - fio: engines completion (27a0ef8)
- ip: Complete link change as well as set (956bd5d)
- ip: Don't stop at proxy and nomaster in neigh (d58ea76)
- scp remote_files: do not filter generated paths with "$cur" (bc812df)
- scp remote_files: localize variable
cur
(34f7d0c) - ssh-keygen: handling of bundled short options (18e436d)
- ssh-keygen: make work with custom IFS (b71340b)
- ssh-keygen: suggest -O arg completions depending on mode (b49ab1d)
- use -- to pass arbitrary cmdnames to
_comp_load
(3c1d9bc) - use
pathcmd=$(type -P -- "$1")
for arbitrary cmds (8795ca9)
v2.13.0
2.13.0 (2024-04-03)
Features
- curl: Complete protocols for --proto-default (7051379)
- ip: Add completion for netconf subcommand (03a10ff)
- ip: Complete commands for netns exec (1f03796)
- ip: Complete help for unknown subcommands (21f7e32)
- ip: Complete ip link property (efa663c)
- ip: Complete link types for address show (ca5ea03)
- ip: Complete neigh show and flush (c7c3c03)
- ip: Complete stats subcommand (cd73e8c)
- ip: Create function to get link types (8e60245)
- rg: add fallback 3rd party completion loader (7e4cc2f)
- xmllint,xmlwf: also suggest *.rss files (a89cde2)
Bug Fixes
- available_interfaces: fix regression of unwanted trailing colons (c2f83e0)
- ip: Complete addrlabel add/del properties (ea07616)
- ip: Complete ip delete with type correctly (f3a9be3)
- ip: Complete more variations of subcommands (c8920c5)
- ip: Complete netns attach subcommand (bfb1de6)
- ip: Complete only relevant addrlabel subcmds (05147f1)
- ip: Keep completing after -netns name (1a5df4f)
- ip: Quote all instantiation of ip as "$1" (ef25163)
- ip: Quote network namespace names (216734b)
- Makefile: include api-and-naming.md in dist (fdd8048)
v2.12.0
2.12.0 (2024-02-21)
Features
- _comp_backup_glob: add
ucf
generated backup files (351be1c) - _comp_backup_glob: require dash in dpkg backup files (59a57f9)
- comp_compgen{filedir,set}: define exit status (7920c9d)
- _comp_compgen_commands: align return value with other compgens (9d3362e)
- _comp_compgen_commands: auto set
-o filenames
when appropriate (4d4839e) - _comp_compgen_commands: include dirs (b9c7b5d)
- _comp_compgen_known_hosts: return 2 on usage error (43bb8f0)
- _comp_compgen: support
-i cmd
and-x cmd
(39cc200) - _comp_compgen: support
-U var
to unlocal var (b603535) - _comp_compgen: support option -C (6b3dfa5)
- _comp_expand_glob: fail when no paths are generated (6b0a466)
- _comp_get_fist_arg: support "-o GLOB" to skip optargs (0f14cc0)
- _ip_addresses: auto ltrim colon completions when appropriate (ccdf953)
- add _comp_compgen_split (542bf73)
- add
_comp_locate_first_arg
(0384bd5) - airflow: add fallback 3rd party completion loader (bf5550b)
- ansible:* add fallback 3rd party completion loader (5f8384e)
- apt-get: prefer
apt-cache
in same dir as command (a731bfd) - b2sum: new completion (cd985df)
- bash_completion: add function _comp_compgen_ltrim_colon (ce5889b)
- black,blackd: add fallback 3rd party completion loader (47a1f05)
- carton: support exec command completions (0eb3a21)
- chezmoi: add 3rd-party completion loader (cobra) (31baa69)
- conda: add 3rd-party completion loader (argcomplete) (c0f5ba2)
- crc: add 3rd-party completion loader (cobra) (f10866e)
- cz: add fallback 3rd party completion loader (b7ba70e)
- dot: support filename extension .gv (be0010e)
- dprint: add fallback 3rd party completion loader (e201e0e)
- eog: add missing extension .heif (9e4a48f)
- eog: associate with
*.avif
and*.webp
(#1005) (f1c04b8) - eog: associate with
*.heic
and*.jxl
(20c9cea) - eog: associate with
*.pbm
(#1006) (5472cc1) - feh: associate with y4m and heic/heif/avif (e252c73)
- feh: deassociate with avci/avcs (af46f34)
- flask: add fallback 3rd party completion loader (3e0d00d)
- hash: new completion (#1013) (4d0bffb)
- httpx: add fallback 3rd party completion loader (3f4861c)
- ip: Add completion for monitor subcommand (fa696e6)
- jungle: add fallback 3rd-party completion loader (c69845a)
- keyring: add fallback 3rd party completion loader (8082602)
- kontena: add fallback 3rd-party completion loader (5eef0ce)
- lefthook: add fallback 3rd party completion loader (dc9650e)
- mailman: prefer
list_lists
in same dir as command (a46ccf1) - mysql: prefer
mysqlshow
from same dir (643886c) - no empty command completion if
no_empty_cmd_completion
is on (faab292) - npm: add fallback 3rd-party completion loader (f1c085c)
- nvm: add fallback 3rd-party completion loader (dea7e1d)
- oc: add 3rd-party completion loader (cobra) (26b5f09)
- pip{,3}: add fallback 3rd-party completion loader (e3cbfba)
- pipenv: add fallback 3rd party completion loader (#1020) (6ecf5bd)
- pytest: complete new --import-mode value (#1021) (2d636a3)
- rtx: add fallback 3rd party completion loader (0628e22)
- scp,sftp: prefer
ssh
from same dir to resolve options etc (d55f5e6) - ssh-copy-id,ssh-keygen: prefer
ssh
from same dir (5c1d270) - ssh-inscribe: add fallback 3rd party completion loader (7f2c197)
- ssh: complete RequiredRSASize (#1064) (de15205)
- tkn-pac: add 3rd-party completion loader (cobra) (d0f2604)
- tkn: add 3rd-party completion loader (cobra) (161fc5d)
- xrandr: comma separated
--setmonitor
third argument (8a76f3d)