summaryrefslogtreecommitdiffstats
path: root/share/bash-completion/container
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-12 05:17:45 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-12 05:18:44 +0000
commitfcf1527f170d2046a26da1f4af6f31e6cfd7407c (patch)
tree532bee53709840a0670775e70751d7403e43734c /share/bash-completion/container
parentAdding shortcuts for container commands to bash-completion as well. (diff)
downloadcompute-tools-fcf1527f170d2046a26da1f4af6f31e6cfd7407c.tar.xz
compute-tools-fcf1527f170d2046a26da1f4af6f31e6cfd7407c.zip
Ignoring symlinks as container commands in bash-completion.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rw-r--r--share/bash-completion/container2
1 files changed, 1 insertions, 1 deletions
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
;;