Description of problem: Auto completion works with single oc, but does not work normaly when oc is prefixed with path. /bin/openshift, /bin/oadm are similar Relative path is similar: bin/oc, ./oc Other software like git has no this problem Version-Release number of selected component (if applicable): openshift/oc v3.2.0.1 kubernetes v1.2.0-alpha.7-703-gbc4550d How reproducible: Always Steps to Reproduce: /bin/oc cre[press Tab] gets no sub-command /bin/oc [press Tab] gets extra "oc": /bin/oc oc Press Tab again, gets sub-commands: /bin/oc oc adm create explain logs ... Actual results: Auto completion is abnormal. Expected results: Should auto complete successfully. Additional info:
Not reproduced now in latest puddle version: atomic-openshift-clients-3.3.0.10-1.git.0.c419cc7.el7.x86_64 `/bin/oc + TAB` works as same as `oc + TAB`. Could move to ON_QA if suitable. Thanks!
Though comment 2 verified, double checked in v3.6, `/bin/oc + TAB` works
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://access.redhat.com/errata/RHSA-2017:3188