fix(docs): add -fL flags to BSD/Android install curl commands
The BSD and Android install instructions used without the -f and -L flags, and piped to instead of . This is inconsistent with the Linux, macOS, and Windows sections which use . - -f makes curl fail on HTTP errors (4xx/5xx) instead of silently downloading error pages - -L follows redirects, which may be needed for GitHub raw URLs - The install script is POSIX-compatible (#!/bin/sh), so piping to sh is correct and more portable than bash (some BSD systems don't have bash installed by default)
This commit is contained in:
parent
c8a47a068b
commit
6058ce05c6
|
|
@ -189,7 +189,7 @@ zoxide can be installed in 4 easy steps:
|
|||
> Or, run this command in your terminal:
|
||||
>
|
||||
> ```sh
|
||||
> curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash
|
||||
> curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh
|
||||
> ```
|
||||
|
||||
</details>
|
||||
|
|
@ -206,7 +206,7 @@ zoxide can be installed in 4 easy steps:
|
|||
> Or, run this command in your terminal:
|
||||
>
|
||||
> ```sh
|
||||
> curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash
|
||||
> curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh
|
||||
> ```
|
||||
|
||||
</details>
|
||||
|
|
|
|||
Loading…
Reference in New Issue