mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 03:38:47 +00:00
bash completion: the 'have' command was deprecated in favor of '_have'
`bash-completion` version 2.1 and later no longer include the `have` command, and consequently the `lxc` competion file fails on such systems. The command is now called `_have`. Signed-off-by: Peter Simons <simons@cryp.to>
This commit is contained in:
parent
c7ec3de825
commit
3db8dd39a7
@ -1,4 +1,4 @@
|
|||||||
have lxc-start && {
|
_have lxc-start && {
|
||||||
_lxc_names() {
|
_lxc_names() {
|
||||||
COMPREPLY=( $( compgen -W "$( lxc-ls )" "$cur" ) )
|
COMPREPLY=( $( compgen -W "$( lxc-ls )" "$cur" ) )
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user