diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2016-01-11 11:55:41 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2016-01-11 11:55:41 -0500 |
commit | b0a4ed0dbbf4aced6d9e80d844f4daf7ea125634 (patch) | |
tree | fe6a5fb88fd9ee5d4a3e7d2be3227335740a915c /bin/zsh_functions | |
parent | 2dc56faff5812ba436bffd2fcd3ec2ac57780286 (diff) | |
parent | f9e2aa24eebd73a2263571c5e5d40913c67fb768 (diff) | |
download | openshift-b0a4ed0dbbf4aced6d9e80d844f4daf7ea125634.tar.gz openshift-b0a4ed0dbbf4aced6d9e80d844f4daf7ea125634.tar.bz2 openshift-b0a4ed0dbbf4aced6d9e80d844f4daf7ea125634.tar.xz openshift-b0a4ed0dbbf4aced6d9e80d844f4daf7ea125634.zip |
Merge pull request #1149 from kwoodson/tab_completion
Updating tab completion for metadata changes.
Diffstat (limited to 'bin/zsh_functions')
-rw-r--r-- | bin/zsh_functions/_ossh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/zsh_functions/_ossh b/bin/zsh_functions/_ossh index e34ca5bd4..65979c58a 100644 --- a/bin/zsh_functions/_ossh +++ b/bin/zsh_functions/_ossh @@ -2,7 +2,7 @@ _ossh_known_hosts(){ if [[ -f ~/.ansible/tmp/multi_inventory.cache ]]; then - print $(/usr/bin/python -c 'import json,os; z = json.loads(open("%s"%os.path.expanduser("~/.ansible/tmp/multi_inventory.cache")).read()); print "\n".join(["%s.%s" % (host["ec2_tag_Name"],host["ec2_tag_env"]) for dns, host in z["_meta"]["hostvars"].items()])') + print $(/usr/bin/python -c 'import json,os; z = json.loads(open("%s"%os.path.expanduser("~/.ansible/tmp/multi_inventory.cache")).read()); print "\n".join(["%s.%s" % (host["oo_name"],host["oo_environment"]) for dns, host in z["_meta"]["hostvars"].items()])') fi } |