git: 12c2b7538a - main - fdp-primer/overview: Update instructions for MacOS

From: Olivier Cochard <olivier_at_FreeBSD.org>
Date: Sat, 25 Jan 2025 23:45:20 UTC
The branch main has been updated by olivier:

URL: https://cgit.FreeBSD.org/doc/commit/?id=12c2b7538aa060d1a3da4f7dd175a385d533628a

commit 12c2b7538aa060d1a3da4f7dd175a385d533628a
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2025-01-25 23:44:50 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2025-01-25 23:44:50 +0000

    fdp-primer/overview: Update instructions for MacOS
    
    Approved by:    carlavilla
    Differential Revision:  https://reviews.freebsd.org/D48681
---
 .../content/en/books/fdp-primer/overview/_index.adoc         | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/documentation/content/en/books/fdp-primer/overview/_index.adoc b/documentation/content/en/books/fdp-primer/overview/_index.adoc
index 20473f88a6..8c74cd1ff4 100644
--- a/documentation/content/en/books/fdp-primer/overview/_index.adoc
+++ b/documentation/content/en/books/fdp-primer/overview/_index.adoc
@@ -260,16 +260,10 @@ $ brew install hugo ruby git bmake
 +
 [source,shell]
 ....
-$ echo 'export GEM_PATH="$(gem environment gemdir)"' >> ~/.zshrc
 $ echo 'export PATH="$(brew --prefix ruby)/bin:$PATH"' >> ~/.zshrc
-$ source ~/.zshrc
-....
-+
-. Add git alias to Homebrew git since `git format-patch` from Apple-provided git won't work with Phabricator.
-+
-[source,shell]
-....
-$ echo 'alias git=/usr/local/bin/git' >> ~/.zshrc
+$ echo 'export PATH="$(brew --prefix hugo)/bin:$PATH"' >> ~/.zshrc
+$ echo 'export GEM_PATH="$(gem environment gemdir)"' >> ~/.zshrc
+$ echo 'export PATH="${GEM_PATH}/bin:$PATH"' >> ~/.zshrc
 $ source ~/.zshrc
 ....
 . Install the rouge package using RubyGem.