From 6058ce05c6e6e306eeb610927a0770feb86895ef Mon Sep 17 00:00:00 2001 From: Sediman Date: Thu, 28 May 2026 11:36:09 +0200 Subject: [PATCH] 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) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 878fba0..713fd22 100644 --- a/README.md +++ b/README.md @@ -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 > ``` @@ -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 > ```