From 3db8dd39a797f87f8b348f1b6b44953a25f3f170 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 2 Jan 2016 17:53:07 +0100 Subject: [PATCH] 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 --- config/bash/lxc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/bash/lxc.in b/config/bash/lxc.in index cbd1b79fe..344d5cb2a 100644 --- a/config/bash/lxc.in +++ b/config/bash/lxc.in @@ -1,4 +1,4 @@ -have lxc-start && { +_have lxc-start && { _lxc_names() { COMPREPLY=( $( compgen -W "$( lxc-ls )" "$cur" ) ) } -- 2.47.2