summaryrefslogtreecommitdiffstats
path: root/bin/README_SHELL_COMPLETION
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-05-25 11:15:10 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-05-25 11:15:10 -0400
commit4c911eeed06fa433b5ac78dbf644ce923d7411e0 (patch)
treed39395c1fb4f45a469627fa74ff290992b7c4e41 /bin/README_SHELL_COMPLETION
parent00eba039c9312fbd04cc05a8a890ef48f2311769 (diff)
downloadopenshift-4c911eeed06fa433b5ac78dbf644ce923d7411e0.tar.gz
openshift-4c911eeed06fa433b5ac78dbf644ce923d7411e0.tar.bz2
openshift-4c911eeed06fa433b5ac78dbf644ce923d7411e0.tar.xz
openshift-4c911eeed06fa433b5ac78dbf644ce923d7411e0.zip
Cleanup bin, test and roles/openshift_ansible_inventory following move to openshift-tools
Diffstat (limited to 'bin/README_SHELL_COMPLETION')
-rw-r--r--bin/README_SHELL_COMPLETION37
1 files changed, 0 insertions, 37 deletions
diff --git a/bin/README_SHELL_COMPLETION b/bin/README_SHELL_COMPLETION
deleted file mode 100644
index 49bba3acc..000000000
--- a/bin/README_SHELL_COMPLETION
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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`.