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

Olivier Cochard <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by olivier:

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

commit 12c2b7538aa060d1a3da4f7dd175a385d533628a
Author:     Olivier Cochard <[email protected]>
AuthorDate: 2025-01-25 23:44:50 +0000
Commit:     Olivier Cochard <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.