fix: use shell-compatible curl install (#3691)

This commit is contained in:
Matan Kushner
2022-03-08 15:47:54 -05:00
committed by GitHub
parent 076a9e6b8e
commit 48f1f756f8
4 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -39,8 +39,9 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
With Shell:
```sh
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
curl -sS https://starship.rs/install.sh | sh
```
To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration.
#### Install via Package Manager
+1 -1
View File
@@ -53,7 +53,7 @@ The prompt will use as much context as is provided, but no flags are "required".
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
```sh
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
```
## Why do I see `Executing command "..." timed out.` warnings?
+1 -1
View File
@@ -36,7 +36,7 @@ pkg install getconf
### Installation
```sh
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
```
## [Funtoo Linux](https://www.funtoo.org/Welcome)