diff options
author | Adam G. Emerson <35545129+AdamGEmerson@users.noreply.github.com> | 2020-08-20 04:26:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-20 11:26:39 +0200 |
commit | 93f8c0686cd28d3f93810c4824397f21530899c7 (patch) | |
tree | 9211a5d35e1b6106b50e5e6ff7dbf8b5cb438c5a | |
parent | 79614908ec5fc6af1151f7c2a17a43844f920e66 (diff) | |
download | zsh-93f8c0686cd28d3f93810c4824397f21530899c7.tar.gz zsh-93f8c0686cd28d3f93810c4824397f21530899c7.tar.bz2 zsh-93f8c0686cd28d3f93810c4824397f21530899c7.zip |
docs: add fetch install command for FreeBSD (#9172)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
-rw-r--r-- | README.md | 6 | ||||
-rwxr-xr-x | tools/install.sh | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -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 |