docs: update package default format to replace /via/is (#2067)

https://github.com/starship/starship/blob/master/src/configs/package.rs#L17
This commit is contained in:
Sam Kvale 2021-01-04 10:56:25 -06:00 committed by GitHub
parent 2fd9996494
commit f5a6c4cdbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1891,7 +1891,7 @@ package, and shows its current version. The module currently supports `npm`, `ca
| Option | Default | Description | | Option | Default | Description |
| ----------------- | ---------------------------------- | ---------------------------------------------------------- | | ----------------- | ---------------------------------- | ---------------------------------------------------------- |
| `format` | `"via [$symbol$version]($style) "` | The format for the module. | | `format` | `"is [$symbol$version]($style) "` | The format for the module. |
| `symbol` | `"📦 "` | The symbol used before displaying the version the package. | | `symbol` | `"📦 "` | The symbol used before displaying the version the package. |
| `style` | `"bold 208"` | The style for the module. | | `style` | `"bold 208"` | The style for the module. |
| `display_private` | `false` | Enable displaying version for packages marked as private. | | `display_private` | `false` | Enable displaying version for packages marked as private. |