Bug 1310841

Summary: Fix zsh autocompletion for rhc
Product: OpenShift Container Platform Reporter: Rory Thrasher <rthrashe>
Component: ocAssignee: Vu Dinh <vdinh>
Status: CLOSED ERRATA QA Contact: Wei Sun <wsun>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.2.0CC: aos-bugs, jokerman, mmccomas, xiama
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhc-1.38.6.1-1.el6op Doc Type: Bug Fix
Doc Text:
Users using the rhc command line tool with Zsh would get errors when attempting to use autocompletion. The rhc_bash file was updated to properly work with Zsh and allow autocompletion without errors.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-22 16:55:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rory Thrasher 2016-02-22 18:50:33 UTC
Using bashcompinit with zsh was causing an error when trying to autocomplete.

Based on this github issue: https://github.com/openshift/rhc/issues/697

Fixed with this PR: https://github.com/openshift/rhc/pull/729

Comment 4 Ma xiaoqiang 2016-02-29 06:54:33 UTC
Check on puddle [2.2.9/2016-02-25.2]

The autocompletion will input once.

#rhc app-create xiaom php-5.4  
Your authorization token has expired. Please sign in now to continue on localhost.
Password: 
Username or password is not correct
Password: 

the autocompletion will input a password automatically.

Comment 5 Ma xiaoqiang 2016-02-29 07:31:59 UTC
(In reply to Ma xiaoqiang from comment #4)
> Check on puddle [2.2.9/2016-02-25.2]
> 
> The autocompletion will input once.
> 
> #rhc app-create xiaom php-5.4  
> Your authorization token has expired. Please sign in now to continue on
> localhost.
> Password: 
> Username or password is not correct
> Password: 
> 
> the autocompletion will input a password automatically.

it is a issue on my zsh. check on another machine. the autocompletion work fine, move this issue to VERIFIED.

Comment 7 errata-xmlrpc 2016-03-22 16:55:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-0489.html