mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
check_user_path_1: Fix message presentation
This commit is contained in:
parent
4a20f76382
commit
567b5a96d6
@ -392,11 +392,11 @@ module Homebrew
|
|||||||
message = inject_file_list conflicts, <<~EOS
|
message = inject_file_list conflicts, <<~EOS
|
||||||
/usr/bin occurs before #{HOMEBREW_PREFIX}/bin
|
/usr/bin occurs before #{HOMEBREW_PREFIX}/bin
|
||||||
This means that system-provided programs will be used instead of those
|
This means that system-provided programs will be used instead of those
|
||||||
provided by Homebrew. The following tools exist at both paths:
|
provided by Homebrew. Consider setting your PATH so that
|
||||||
|
#{HOMEBREW_PREFIX}/bin occurs before /usr/bin. Here is a one-liner:
|
||||||
Consider setting your PATH so that #{HOMEBREW_PREFIX}/bin
|
|
||||||
occurs before /usr/bin. Here is a one-liner:
|
|
||||||
#{Utils::Shell.prepend_path_in_profile("#{HOMEBREW_PREFIX}/bin")}
|
#{Utils::Shell.prepend_path_in_profile("#{HOMEBREW_PREFIX}/bin")}
|
||||||
|
|
||||||
|
The following tools exist at both paths:
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user