Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions content/manuals/engine/cli/completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ You can generate completion scripts for the following shells:
- [Bash](#bash)
- [Zsh](#zsh)
- [fish](#fish)
- [PowerShell](#powershell)

## Bash

Expand Down Expand Up @@ -105,3 +106,11 @@ To activate completion for Docker commands, copy or symlink the completion scrip
$ mkdir -p ~/.config/fish/completions
$ docker completion fish > ~/.config/fish/completions/docker.fish
```

## PowerShell

To make this work with PowerShell, run the following script as-is in a Terminal window, then restart the terminal:

```console
Add-Content -Path "$PROFILE" -Value 'Invoke-Expression (&docker completion powershell | Out-String)'
```