A copy of the completion script from the docker-machine git repo with added functionality:
docker-machine use mymachine
- alias foreval $(docker-machine env mymachine)
- default timeout for
docker-machine ls
is now 3 seconds - adds
log-opt="max-size=10m"
andlog-opt="max-file=10"
to alldocker-machine create ...
commands
cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/poma/docker-machine
# edit ~/.zshrc and add `docker-machine` to plugin list