Add `-f` to curl commands (#14667)

Justin Su created

Release Notes:

- Updated curl commands with `-f` for improved error handling
([#14346](https://github.com/zed-industries/zed/issues/14346)).

Change summary

docs/src/getting-started.md | 4 ++--
docs/src/linux.md           | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)

Detailed changes

docs/src/getting-started.md 🔗

@@ -25,13 +25,13 @@ brew install --cask zed@preview
 For most people, the easiest way to install Zed is through our installation script:
 
 ```sh
-curl https://zed.dev/install.sh | sh
+curl -f https://zed.dev/install.sh | sh
 ```
 
 If you'd like to help us test our new features, you can also install our preview build:
 
 ```sh
-curl https://zed.dev/install.sh | ZED_CHANNEL=preview sh
+curl -f https://zed.dev/install.sh | ZED_CHANNEL=preview sh
 ```
 
 This script supports `x86_64` and `AArch64`, as well as common Linux distributions: Ubuntu, Arch, Debian, RedHat, CentOS, Fedora, and more.

docs/src/linux.md 🔗

@@ -3,13 +3,13 @@
 For most people we recommend using the script on the [download](/download) page to install Zed:
 
 ```sh
-curl https://zed.dev/install.sh | sh
+curl -f https://zed.dev/install.sh | sh
 ```
 
 We also offer a preview build of Zed which receives updates about a week ahead of stable. You can install it with:
 
 ```sh
-curl https://zed.dev/install.sh | ZED_CHANNEL=preview sh
+curl -f https://zed.dev/install.sh | ZED_CHANNEL=preview sh
 ```
 
 The install script does not work on systems that: