93f8c0686cd28d3f93810c4824397f21530899c7

Author
Adam G. Emerson <35545129+AdamGEmerson@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

docs: add fetch install command for FreeBSD (#9172)

Co-authored-by: Marc Cornellà <marc.cornella@live.com>

Diff

 1diff --git a/README.md b/README.md
 2index 329eff1784b38e5b5867c0efcb8d2cd1af2db6be..8dfa4a1394525465215641287261f84b2e8f177e 100644
 3--- a/README.md
 4+++ b/README.md
 5@@ -43,6 +43,12 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/too
 6 sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
 7 ```
 8 
 9+#### via fetch
10+
11+```shell
12+sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
13+```
14+
15 #### Manual inspection
16 
17 It's a good idea to inspect the install script from projects you don't yet know. You can do
18diff --git a/tools/install.sh b/tools/install.sh
19index 0fc554786ea7f9038b7f59207eb9c9a5d3a55392..4e166fef4312559c43926fd085b324de1f5b3c56 100755
20--- a/tools/install.sh
21+++ b/tools/install.sh
22@@ -2,8 +2,10 @@
23 #
24 # This script should be run via curl:
25 #   sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
26-# or wget:
27+# or via wget:
28 #   sh -c "$(wget -qO- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
29+# or via fetch:
30+#   sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
31 #
32 # As an alternative, you can first download the install script and run it afterwards:
33 #   wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh