Docker Community Forums

Share and learn in the Docker community.

How to get tab completion working when docker-compose is used through an alias?

(Voidpointer) #1

In my .bashrc, I set this:

alias c='docker-compose'

I’d like to be able to use tab completion when I type c at the command line, but it doesn’t work. If I tab after typing docker-compose it does work. How can I get docker compose’s tab completion working with the alias?