From 93f8c0686cd28d3f93810c4824397f21530899c7 Mon Sep 17 00:00:00 2001 From: "Adam G. Emerson" <35545129+AdamGEmerson@users.noreply.github.com> Date: Thu, 20 Aug 2020 04:26:39 -0500 Subject: [PATCH] docs: add fetch install command for FreeBSD (#9172) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Marc Cornellà --- README.md | 6 ++++++ tools/install.sh | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 329eff178..8dfa4a139 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,12 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/too sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ``` +#### via fetch + +```shell +sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +``` + #### Manual inspection It's a good idea to inspect the install script from projects you don't yet know. You can do diff --git a/tools/install.sh b/tools/install.sh index 0fc554786..4e166fef4 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -2,8 +2,10 @@ # # This script should be run via curl: # sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" -# or wget: +# or via wget: # sh -c "$(wget -qO- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +# or via fetch: +# sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # # As an alternative, you can first download the install script and run it afterwards: # wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh