fix: use shell-compatible curl install (#3691)
This commit is contained in:
parent
076a9e6b8e
commit
48f1f756f8
|
@ -203,7 +203,7 @@ Install Starship using any of the following package managers:
|
||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
|
@ -232,7 +232,7 @@ Alternatively, install Starship using any of the following package managers:
|
||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
|
|
|
@ -39,8 +39,9 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
|
||||||
With Shell:
|
With Shell:
|
||||||
|
|
||||||
```sh
|
```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.
|
To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration.
|
||||||
|
|
||||||
#### Install via Package Manager
|
#### Install via Package Manager
|
||||||
|
|
|
@ -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`:
|
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
|
||||||
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?
|
## Why do I see `Executing command "..." timed out.` warnings?
|
||||||
|
|
|
@ -36,7 +36,7 @@ pkg install getconf
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
```sh
|
```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)
|
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
||||||
|
|
Loading…
Reference in New Issue