summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDario Vladović <d.vladimyr@gmail.com>2021-04-08 19:42:45 +0200
committerGitHub <noreply@github.com>2021-04-08 19:42:45 +0200
commitea35359a0923cdee05485b2e9564be406fe6a20d (patch)
tree9d55938596dac8636858bff36d4f9f04b0f96e91 /README.md
parent7a0046ed58803bc81008c7fbf1a37ef00ccfb7f2 (diff)
docs: update install instructions (#2553)
Use POSIX `sh`, mitigate possible timing attacks.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index dfc3fdfa6..25409db1b 100644
--- a/README.md
+++ b/README.md
@@ -157,7 +157,7 @@ shown below. Can't see yours? Have a look at the [extra platform instructions](h
##### From prebuilt binary, with Shell:
```sh
- curl -fsSL https://starship.rs/install.sh | bash
+ sh -c "$(curl -fsSL https://starship.rs/install.sh)"
```
To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration.