Kenny Woodson d9b2766294 Adding cache location for multi ec2 10 năm trước cách đây
..
openshift_ansible c28d4ec46f added '-e all' to ohi and fixed pylint errors. 10 năm trước cách đây
zsh_functions 71c0c0c6d3 added initial tower configs 10 năm trước cách đây
README_SHELL_COMPLETION ee2ad2a52e fixed github repo name in READMEs 10 năm trước cách đây
cluster 6a4b7a5eb6 Configuration updates for latest builds and major refactor 10 năm trước cách đây
ohi c28d4ec46f added '-e all' to ohi and fixed pylint errors. 10 năm trước cách đây
openshift-ansible-bin.spec 060dffb973 Automatic commit of package [openshift-ansible-bin] release [0.0.13-1]. 10 năm trước cách đây
openshift_ansible.conf.example b1b462f4db added config file support to opssh, ossh, and oscp 10 năm trước cách đây
opscp a61078e141 fixed opssh and opscp to allow just environment or just host-type. 10 năm trước cách đây
opssh a61078e141 fixed opssh and opscp to allow just environment or just host-type. 10 năm trước cách đây
oscp d9b2766294 Adding cache location for multi ec2 10 năm trước cách đây
ossh d9b2766294 Adding cache location for multi ec2 10 năm trước cách đây
ossh_bash_completion d9a178298a Fixed when tag was missing and added opssh completion 10 năm trước cách đây
ossh_zsh_completion d751d4d53a Updated zsh completion to work with oscp 10 năm trước cách đây

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_ec2 results in ~/.ansible/tmp/multi_ec2_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`.