Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

Latest commit

 

History

History
40 lines (30 loc) · 907 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 907 Bytes

Docker fish completion

docker command completion for the fish shell.

  • fish = awesome
  • docker = awesome
  • completion = awesome²

Installation

mkdir ~/.config/fish/completions
wget https://raw.github.com/barnybug/docker-fish-completion/master/docker.fish -O ~/.config/fish/completions/docker.fish
fisher install barnybug/docker-fish-completion

fish will show up the new completions straight away, no reload necessary.

Example

% docker run -[TAB]
--attach          (Attach to stdin, stdout or stderr.)
...

% docker run -t -i [TAB]
    busybox:latest             (Image)
    ubuntu:12.04               (Image)

% docker run -t -i busybox:latest
/ #

Completion supported

  • parameters
  • commands
  • containers
  • images
  • repositories