From 34e4fc8ba68adad5eebed751e2cd4975af8e9c0c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 12 Nov 2016 06:17:45 +0100 Subject: Ignoring symlinks as container commands in bash-completion. Signed-off-by: Daniel Baumann --- share/bash-completion/container | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/bash-completion/container b/share/bash-completion/container index 4bff91c..e49311a 100644 --- a/share/bash-completion/container +++ b/share/bash-completion/container @@ -249,7 +249,7 @@ _container() ;; *) - local commands=$(cd /usr/lib/container-tools/container 2>/dev/null && ls) + local commands=$(cd /usr/lib/container-tools/container 2>/dev/null && find * -type f -print) COMPREPLY=( $(compgen -W "${commands}" -- ${cur}) ) return 0 ;; -- cgit v1.2.3