Skip to content

Commit

Permalink
Merge pull request #11329 from juanvallejo/jvallejo/add-bash-completi…
Browse files Browse the repository at this point in the history
…on-oc-exec

Merged by openshift-bot
  • Loading branch information
OpenShift Bot authored Oct 14, 2016
2 parents 1e3972d + 63856c2 commit f096e61
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/completions/bash/oc
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ __custom_func() {
;;

# first arg is a pod name
oc_rsh)
oc_rsh | oc_exec)
if [[ ${#nouns[@]} -eq 0 ]]; then
__oc_parse_get pods
fi;
Expand Down
2 changes: 1 addition & 1 deletion contrib/completions/zsh/oc
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ __custom_func() {
;;

# first arg is a pod name
oc_rsh)
oc_rsh | oc_exec)
if [[ ${#nouns[@]} -eq 0 ]]; then
__oc_parse_get pods
fi;
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/cli/cli_bashcomp_func.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ __custom_func() {
;;
# first arg is a pod name
oc_rsh)
oc_rsh | oc_exec)
if [[ ${#nouns[@]} -eq 0 ]]; then
__oc_parse_get pods
fi;
Expand Down

0 comments on commit f096e61

Please sign in to comment.