From a16d74cf773e8ee8878381340d89fcb704ba4bc7 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Mon, 4 Mar 2024 06:48:34 +0800 Subject: [PATCH] package: improve shellenv instructions The existing instructions is perhaps not clear enough: To add Homebrew to your `PATH` run `brew shellenv` in your shell profile (e.g. `~/.bash_profile` or `~/.zprofile`) Fixes #16803. --- package/resources/CONCLUSION.rtf | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/package/resources/CONCLUSION.rtf b/package/resources/CONCLUSION.rtf index 80dedfd995..a057952d22 100644 --- a/package/resources/CONCLUSION.rtf +++ b/package/resources/CONCLUSION.rtf @@ -28,14 +28,20 @@ Homebrew is run entirely by unpaid volunteers. Please consider donating:\ \pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\pardirnatural\partightenfactor0 \ls3\ilvl0\cf0 \ulnone {\listtext \uc0\u8259 }To add Homebrew to your \f2 PATH -\f1 run -\f2 brew shellenv -\f1 in your shell profile (e.g. +\f1 , add to your shell profile (e.g. \f2 ~/.bash_profile \f1 or \f2 ~/.zprofile -\f1 )\ -{\listtext \uc0\u8259 }Run +\f1 ):\ +\pard\tx940\tx1440\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li1440\fi-1440\pardirnatural\partightenfactor0 +\ls3\ilvl1\cf0 {\listtext \uc0\u8259 } +\f2 eval "$(/opt/homebrew/bin/brew shellenv)" +\f1 on Apple Silicon\ +\ls3\ilvl1{\listtext \uc0\u8259 } +\f2 eval "$(/usr/local/bin/brew shellenv)" +\f1 on Intel\ +\pard\tx220\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li720\fi-720\pardirnatural\partightenfactor0 +\ls3\ilvl0\cf0 {\listtext \uc0\u8259 }Run \f2 brew help \f1 to get started\ {\listtext \uc0\u8259 }Further documentation:\ @@ -44,4 +50,4 @@ Homebrew is run entirely by unpaid volunteers. Please consider donating:\ \pard\tx940\tx1440\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\li1440\fi-1440\pardirnatural\partightenfactor0 \cf0 \ \ -} \ No newline at end of file +}