Enabling the autocomplete feature in an rhc command-line client
The rhc
command-line utility supports autocompletion. This involves rhc
predicting a command that the user wants to type in without them actually typing it completely. This is very helpful for new users who do not know all the commands supported by rhc
. In this recipe, you will learn how to enable autocomplete for the rhc
command-line client.
Note
The autocomplete feature does not work for Windows Terminal.
Getting ready
To step through this recipe, you will need to have rhc
installed on your machine. Refer to the Installing the OpenShift rhc command-line client recipe for instructions.
How to do it…
To enable autocompletion, perform the following steps:
- Run the
rhc setup
command again with ...
Get OpenShift Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.