Kenny Woodson 303305a378 Adding ip address option 9 gadi atpakaļ
..
openshift_ansible 303305a378 Adding ip address option 9 gadi atpakaļ
zsh_functions 407a83b1ce Fixing tab completion for latest metadata changes 9 gadi atpakaļ
README_SHELL_COMPLETION 4b85e4fae0 Support for gce 9 gadi atpakaļ
cluster 631e5977e2 Remove camel case for bin/cluster addNodes 9 gadi atpakaļ
ohi 303305a378 Adding ip address option 9 gadi atpakaļ
openshift_ansible.conf.example 4b85e4fae0 Support for gce 9 gadi atpakaļ
opscp 303305a378 Adding ip address option 9 gadi atpakaļ
opssh 303305a378 Adding ip address option 9 gadi atpakaļ
oscp 029abcad0a Update to metadata tooling. 9 gadi atpakaļ
ossh c5f6db5ddd Add -A parameter to forward ssh agent 9 gadi atpakaļ
ossh_bash_completion f9e2aa24ee Merge branch 'tab_completion' of github.com:kwoodson/openshift-ansible into tab_completion 9 gadi atpakaļ
ossh_zsh_completion 407a83b1ce Fixing tab completion for latest metadata changes 9 gadi atpakaļ

README_SHELL_COMPLETION

# completion is available for ossh/oscp

ossh/oscp uses a dynamic inventory cache in order to lookup
hostnames and translate them to something meaningful
such as an IP address or dns name.

This allows us to treat our servers as cattle and not as pets.

If you have not run the ossh command and it has not laid down
a cache file the completions will not be available.

You can populate the cache by running `ossh --list`. This
will populate the cache file and the completions should
become available.

This script will look at the cached version of your
multi_inventory results in ~/.ansible/tmp/multi_inventory.cache.
It will then parse a few {host}.{env} out of the json
and return them to be completable.

# BASH
In order to setup bash completion, source the following script:
/path/to/repository/openshift-ansible/bin/ossh_bash_completion

# ZSH
In order to setup zsh completion, you will need to verify
that the _ossh_zsh_completion script is somewhere in the path
of $fpath.

Once $fpath includes the _ossh_zsh_completion script then you should
run `exec zsh`. This will then allow you to call `ossh host[TAB]`
for a list of completions.

Before completing the final step, zsh keeps its own cache in
~/.zcompdump of the known functions and variables. In order to
refresh with new variables and completion arrays you might need
to `rm ~/.zcompdump` before running `exec zsh`.