# /usr/share/bash-completion/completions/openstack
#
# Static bash completion entry point for the OpenStack unified CLI.
#
# This file is intentionally minimal. The actual completion function
# (_openstack) and command data are maintained in a dynamically
# generated file under /var/lib/openstack-client/, which is
# regenerated daily by openstack-completion.timer to reflect whichever
# OpenStack client packages are currently installed.
#
# If the dynamic file does not yet exist (e.g. on a fresh install
# before the timer has fired) tab completion will silently do nothing.
#
# See openstack-completion.service(8).

[ -f /var/lib/openstack-client/bash-completion ] && \
    source /var/lib/openstack-client/bash-completion
