Skip to content

Commit 5e44a4c

Browse files
committed
Update docs for using brew's bash
1 parent 8e5ad6a commit 5e44a4c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ multiple Python versions on the same system, the version being used to run the s
221221
.. admonition:: Bash version compatibility
222222

223223
When using bash, global completion requires bash support for ``complete -D``, which was introduced in bash 4.2. Since
224-
Mac OS ships with an outdated version of Bash (3.2), you can either use zsh or install a newer version of bash using
225-
`Homebrew <http://brew.sh/>`_ (``brew install bash`` - you will also need to add ``/opt/homebrew/bin/bash`` to
224+
macOS ships with an outdated version of Bash (3.2), you can either use zsh or install a newer version of bash using
225+
`Homebrew <http://brew.sh/>`_ (``brew install bash`` - you will also need to add ``$(brew --prefix)/bin/bash`` to
226226
``/etc/shells``, and run ``chsh`` to change your shell). You can check the version of the running copy of bash with
227227
``echo $BASH_VERSION``.
228228

@@ -257,7 +257,7 @@ Argcomplete requires Python 3.9+.
257257

258258
Support for other shells
259259
------------------------
260-
Argcomplete maintainers provide support only for the bash and zsh shells on Linux and MacOS. For resources related to
260+
Argcomplete maintainers provide support only for the bash and zsh shells on Linux and macOS. For resources related to
261261
other shells and platforms, including fish, tcsh, xonsh, powershell, and Windows, please see the
262262
`contrib <https://github.com/kislyuk/argcomplete/tree/develop/contrib>`_ directory.
263263

0 commit comments

Comments
 (0)