From eb3a662841a4ef51aefac13ebcca03df92c283da Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Tue, 12 Jan 2021 16:30:29 -0500 Subject: [PATCH] completions: clarify that only external tap completions are affected Co-Authored-By: Mike McQuaid --- Library/Homebrew/cmd/completions.rb | 2 +- Library/Homebrew/completions.rb | 2 +- docs/Manpage.md | 2 +- manpages/brew.1 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/cmd/completions.rb b/Library/Homebrew/cmd/completions.rb index 6f0ba352da..3aad3aa9c8 100644 --- a/Library/Homebrew/cmd/completions.rb +++ b/Library/Homebrew/cmd/completions.rb @@ -15,7 +15,7 @@ module Homebrew usage_banner <<~EOS `completions` [] - Control whether Homebrew automatically links shell completion files. + Control whether Homebrew automatically links external tap shell completion files. Read more at . `brew completions` [`state`]: diff --git a/Library/Homebrew/completions.rb b/Library/Homebrew/completions.rb index 356a9dbabd..788949f27f 100644 --- a/Library/Homebrew/completions.rb +++ b/Library/Homebrew/completions.rb @@ -56,7 +56,7 @@ module Completions T.unsafe(self).ohai "Homebrew completions for external commands are unlinked by default!" T.unsafe(self).puts <<~EOS - To opt-in to automatically linking Homebrew shell competion files, run: + To opt-in to automatically linking external tap shell competion files, run: brew completions link Then, follow the directions at #{Formatter.url("https://docs.brew.sh/Shell-Completion")} EOS diff --git a/docs/Manpage.md b/docs/Manpage.md index 17160e407f..7061af5693 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -96,7 +96,7 @@ Show lists of built-in and external commands. ### `completions` [*`subcommand`*] -Control whether Homebrew automatically links shell completion files. +Control whether Homebrew automatically links external tap shell completion files. Read more at . `brew completions` [`state`] diff --git a/manpages/brew.1 b/manpages/brew.1 index 419c623655..3734944d13 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -94,7 +94,7 @@ List only the names of commands without category headers\. Include aliases of internal commands\. . .SS "\fBcompletions\fR [\fIsubcommand\fR]" -Control whether Homebrew automatically links shell completion files\. Read more at \fIhttps://docs\.brew\.sh/Shell\-Completion\fR\. +Control whether Homebrew automatically links external tap shell completion files\. Read more at \fIhttps://docs\.brew\.sh/Shell\-Completion\fR\. . .P \fBbrew completions\fR [\fBstate\fR]