docs: Add update documentation (#2418)

Added documentation about upgrading starship itself via bash script.
This commit is contained in:
masa 2021-04-01 23:38:51 +09:00 committed by GitHub
parent ec61dd6af0
commit 9cf15b7840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -159,6 +159,7 @@ shown below. Can't see yours? Have a look at the [extra platform instructions](h
```sh ```sh
curl -fsSL https://starship.rs/install.sh | bash curl -fsSL https://starship.rs/install.sh | bash
``` ```
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

View File

@ -37,6 +37,7 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
```sh ```sh
curl -fsSL https://starship.rs/install.sh | bash curl -fsSL https://starship.rs/install.sh | bash
``` ```
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
@ -124,4 +125,3 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
eval `starship init tcsh` eval `starship init tcsh`
``` ```