Skip to content

Commit 5f3c035

Browse files
authored
Prerequisite and a Note added for macOS (#433)
* add a prerequisite and a NOte for macOS in the Enabling command completion on Bash * make a change to the prereq and Note for macOS in the Enabling command completion on Bash * add to existing prereq rather than a new rereq under the macOS step for Enabling command completion on Bash * added new suggestions to the prereq for macOS and new suggestions for the new NOTE under BASH>macOS step for Enabling command completion on Bash
1 parent 67c22b5 commit 5f3c035

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

docs/kafka/consumer-configuration-kafka/README.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ If required, use the {product-kafka} web console to reset the offsets of consume
6969

7070
As an alternative to using the {product-kafka} web console, you can use the `rhoas` command-line interface (CLI) or the Kafka `kafka-consumer-groups.sh` script to review and update consumer groups.
7171

72+
ifndef::community[]
73+
NOTE: The Kafka scripts are part of the open source community version of Apache Kafka. The scripts are not a part of {product-kafka} and are therefore not supported by Red Hat.
74+
endif::[]
75+
7276
//Additional line break to resolve mod docs generation error
7377

7478
[id="con-consumer-group-script_{context}"]
@@ -184,9 +188,7 @@ If you're using Kafka scripts, you can use the `kafka-consumer-groups.sh` tool t
184188
./kafka-consumer-groups.sh --bootstrap-server __<bootstrap_server>__ --command-config __<authentication_properties>__ --describe --group my-consumer-group
185189
----
186190

187-
ifndef::community[]
188-
NOTE: The Kafka scripts are part of the open source community version of Apache Kafka. The scripts are not a part of {product-kafka} and are therefore not supported by Red Hat.
189-
endif::[]
191+
190192

191193
.Prerequisites
192194
* You're logged in to the {product-kafka} web console.

docs/rhoas/rhoas-cli-installation/README.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ You can enable command completion for each of the following shells:
233233
.Prerequisites
234234

235235
* You've installed the `rhoas` CLI.
236+
* If you're using macOS, you've installed `bash-completion` configured in your `.bash_profile` file.
236237

237238
[discrete,id="enabling-command-completion-bash_{context}"]
238239
=== Enabling command completion on Bash
@@ -260,6 +261,9 @@ $ sudo mv rhoas_completions /etc/bash_completion.d/rhoas
260261
----
261262
$ sudo mv rhoas_completions /usr/local/etc/bash_completion.d/rhoas
262263
----
264+
265+
NOTE: For macOS, to find the location of your `bash-completion` directory, check the `~/.bashrc` or `~/.bash_profile` file.
266+
263267
--
264268

265269
. Open a new terminal window.

0 commit comments

Comments
 (0)