Skip to content

Commit

Permalink
bash completion: the 'have' command was deprecated in favor of '_have'
Browse files Browse the repository at this point in the history
`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>
  • Loading branch information
peti authored and stgraber committed Nov 17, 2016
1 parent 530c5e1 commit 0bf8913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/bash/lxc.in
@@ -1,4 +1,4 @@
have lxc-start && {
_have lxc-start && {
_lxc_names() {
COMPREPLY=( $( compgen -W "$( lxc-ls )" "$cur" ) )
}
Expand Down

0 comments on commit 0bf8913

Please sign in to comment.