Skip to content

ankitsumitg/docker-fish-completions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

🐳 Docker Fish completions

Fish

docker command completions for Fish.

Always in sync with official docker/cli/contrib/completion/fish/docker.fish.

  • Fish = awesome
  • docker = awesome
  • completions = awesome²

Installation

Install with Fisher:

fisher install ankitsumitg/docker-fish-completions

Or manually:

mkdir ~/.config/fish/completions
wget https://raw.githubusercontent.com/ankitsumitg/docker-fish-completions/main/completions/docker.fish -O ~/.config/fish/completions/docker.fish

Fish will load the new completions straight away—no reload required.

Example

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

% docker run -t -i [TAB] 🥊
    ubuntu:20.04               (Image)

% docker run -t -i ubuntu:20.04
/ #

Completion supported

  • parameters
  • commands
  • containers
  • images
  • repositories

Contributors