matt9ucci/DockerCompletion

Alias for docker

Nicolas01 opened this issue · 2 comments

I use an alias for docker:
New-Alias d docker
When I use my alias the completion doesn't work anymore.
Do you know what should I have to modify to have the completion working with my alias?

Try to execute Import-Module DockerCompletion or Import-Module DockerCompletion -Force after New-Alias d docker.

DockerCompletion registers docker and its aliases during execution of Import-Module.

Excellent! It's exactly what I need.
Thanks a lot!