Skip to content

Instantly share code, notes, and snippets.

@tanelmae
Created September 26, 2019 10:41
Show Gist options
  • Select an option

  • Save tanelmae/19b039c2fa7c229307b4f48b3fe85666 to your computer and use it in GitHub Desktop.

Select an option

Save tanelmae/19b039c2fa7c229307b4f48b3fe85666 to your computer and use it in GitHub Desktop.
denv bash completion
if [ -d /usr/local/etc/bash_completion.d/docker-compose.bash-completion ]; then
. /usr/local/etc/bash_completion.d/docker-compose.bash-completion
fi
if [ -x "$(command -v _docker_compose)" ]; then
echo "docker-compose bash completion not found"
else
complete -F _docker_compose denv
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment