From 45d41f2f73349ad627d3ae1deedbd2b3744b2b50 Mon Sep 17 00:00:00 2001 From: aarondill Date: Wed, 5 Jul 2023 14:21:27 -0500 Subject: [PATCH] change installation instructions They now suggest passing to `sh`, rather than `bash`, to match the shebang and reduce posibility that non-posix behaivor of `bash` affects the script. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ad8466a..17fffce 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ zoxide can be installed in 4 easy steps: > The recommended way to install zoxide is via the install script: > > ```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 > ``` > > Or, you can use a package manager: @@ -109,7 +109,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 > ``` @@ -135,7 +135,7 @@ zoxide can be installed in 4 easy steps: > If you're using Cygwin, Git Bash, or MSYS2, use the install script instead: > > ```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 > ```