diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-11-12 05:17:45 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-11-12 07:47:18 +0000 |
commit | 34e4fc8ba68adad5eebed751e2cd4975af8e9c0c (patch) | |
tree | 532bee53709840a0670775e70751d7403e43734c /share/bash-completion/container | |
parent | Adding shortcuts for container commands to bash-completion as well. (diff) | |
download | compute-tools-34e4fc8ba68adad5eebed751e2cd4975af8e9c0c.tar.xz compute-tools-34e4fc8ba68adad5eebed751e2cd4975af8e9c0c.zip |
Ignoring symlinks as container commands in bash-completion.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/bash-completion/container')
-rw-r--r-- | share/bash-completion/container | 2 |
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 ;; |