xonsh-docker-tabcomplete
This provides tab completion for docker in xonsh.
This got born from a problem with the official bash completion for docker in xonsh. This script tries to use the docker api as much as possible. Its far from perfect and kind of alphaish. Im happy for every idea and pull request.
Implemented
All arguments and commands for docker version 1.10.
Installation
pip install xonsh-docker-tabcomplete
or
pip install git+https://github.com/xsteadfastx/xonsh-docker-tabcomplete.git
Using
Put xontrib load docker_tabcomplete
in your ~/.xonshrc
.
Configuration
These are the environment variables that can be used to configurate the docker tabcompletion:
-
DOCKER_BASE_URL
: The base url docker-py needs to connect. It defaults tounix://var/run/docker.sock
.