All Projects → leonhartX → Docker Machine Zsh Completion

leonhartX / Docker Machine Zsh Completion

Licence: mit
A more functional and up-to-date zsh completion for docker-machine

Projects that are alternatives of or similar to Docker Machine Zsh Completion

Docker Machine Driver Hetzner
Docker machine driver for the new hetzner cloud API
Stars: ✭ 308 (+2100%)
Mutual labels:  docker-machine
Docker Windows Box
Various Vagrant envs with Windows 2019/10 and Docker, Swarm mode, LCOW, WSL2, ...
Stars: ✭ 487 (+3378.57%)
Mutual labels:  docker-machine
Jupyterlab Lsp
Coding assistance for JupyterLab (code navigation + hover suggestions + linters + autocompletion + rename) using Language Server Protocol
Stars: ✭ 796 (+5585.71%)
Mutual labels:  autocompletion
Docker Machine Vmwareworkstation
VMWare Workstation driver for Docker Machine https://github.com/docker/machine
Stars: ✭ 355 (+2435.71%)
Mutual labels:  docker-machine
Docker Machine Parallels
Parallels driver for Docker Machine https://github.com/docker/machine
Stars: ✭ 391 (+2692.86%)
Mutual labels:  docker-machine
Cmake Ide
Use Emacs as a C/C++ IDE
Stars: ✭ 661 (+4621.43%)
Mutual labels:  autocompletion
Php Ide Serenata
Atom IDE package that integrates the Serenata server to provide PHP code assistance
Stars: ✭ 277 (+1878.57%)
Mutual labels:  autocompletion
Pawn Sublime Language
Pawn language settings for Sublime Text 3. Copied from C++ but with Pawn language and SA:MP specific modifications.
Stars: ✭ 26 (+85.71%)
Mutual labels:  autocompletion
Symfony Console Autocomplete
Shell autocompletion for Symfony Console based scripts
Stars: ✭ 465 (+3221.43%)
Mutual labels:  autocompletion
Vim Mucomplete
Chained completion that works the way you want!
Stars: ✭ 794 (+5571.43%)
Mutual labels:  autocompletion
Fz
Cli shell plugin, the missing fuzzy tab completion feature of z jump around command.
Stars: ✭ 359 (+2464.29%)
Mutual labels:  autocompletion
Ide Helper
📘 Swoole IDE Helper
Stars: ✭ 378 (+2600%)
Mutual labels:  autocompletion
Windows Docker Machine
Work with Windows containers and LCOW on Mac/Linux/Windows
Stars: ✭ 667 (+4664.29%)
Mutual labels:  docker-machine
Kubectl Fzf
A fast kubectl autocompletion with fzf
Stars: ✭ 315 (+2150%)
Mutual labels:  autocompletion
Autoprompt
Auto complete command prompts for C# .Net console apps
Stars: ✭ 22 (+57.14%)
Mutual labels:  autocompletion
Vim Terraform Completion
A (Neo)Vim Autocompletion and linter for Terraform, a HashiCorp tool
Stars: ✭ 280 (+1900%)
Mutual labels:  autocompletion
Zsh Autocomplete
🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
Stars: ✭ 641 (+4478.57%)
Mutual labels:  autocompletion
Docker Machine Driver Xhyve
docker-machine/minikube/minishift driver plugin for xhyve/hyperkit (native macOS hypervisor.framework)
Stars: ✭ 879 (+6178.57%)
Mutual labels:  docker-machine
Autocomplete Haskell
Atom autocomplete-plus provider for haskell
Stars: ✭ 23 (+64.29%)
Mutual labels:  autocompletion
Adop Docker Compose
Talk to us on Gitter: https://gitter.im/Accenture/ADOP
Stars: ✭ 763 (+5350%)
Mutual labels:  docker-machine

docker-machine-zsh-completion

A more functional and up-to-date zsh completion for docker-machine

This has been merged in docker-machine, but clone this repo to your completion path maybe a good way to easily keep it up-to-date.

Installing Command Completion

Manual installation

Place the completion scripts in your /path/to/zsh/completion, using e.g. ~/.zsh/completion/

mkdir -p ~/.zsh/completion
git clone https://github.com/leonhartX/docker-machine-zsh-completion.git ~/.zsh/completion/docker-machine

Include the directory in your $fpath, e.g. by adding in ~/.zshrc

fpath=(~/.zsh/completion/docker-machine $fpath)

Make sure compinit is loaded or do it by adding in ~/.zshrc

autoload -Uz compinit && compinit -i

Then reload your shell

exec $SHELL -l

Using oh-my-zsh

If you use oh-my-zsh then just clone the repository inside your oh-my-zsh repo:

git clone https://github.com/leonhartX/docker-machine-zsh-completion.git ~/.oh-my-zsh/custom/plugins/docker-machine

and enable it in your .zshrc:

plugins+=(docker-machine)
autoload -U compinit && compinit

Available completions

Depending on what you typed on the command line so far, it will complete

  • available docker-machine commands
  • options that are available for a particular command
  • machine names that make sense in a given context (e.g. docker-machine ip with only running machines vs. docker-machine rm with all machines).
  • swarm discovery that are available to join in.
  • driver options (e.g. amazonec2-ami) that are available for a particular driver after the --driver,-d options is specified.
  • arguments for selected options, e.g. docker-machine ls --filter will complete some filter options like driver and name.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].