mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
docs(i18n): Update translations (#875)
This commit is contained in:
@@ -101,6 +101,7 @@ prompt_order = [
|
||||
"package",
|
||||
"dotnet",
|
||||
"golang",
|
||||
"haskell",
|
||||
"java",
|
||||
"nodejs",
|
||||
"php",
|
||||
@@ -575,6 +576,29 @@ The `golang` module shows the currently installed version of Golang. The module
|
||||
[golang]
|
||||
symbol = "🏎💨 "
|
||||
```
|
||||
## Haskell
|
||||
|
||||
The `haskell` module shows the currently installed version of Haskell Stack version. The module will be shown if any of the following conditions are met:
|
||||
|
||||
- The current directory contains a `stack.yaml` file
|
||||
|
||||
### Options
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ---------- | ------------ | --------------------------------------------------------- |
|
||||
| `symbol` | `"λ "` | The symbol used before displaying the version of Haskell. |
|
||||
| `style` | `"bold red"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `haskell` module. |
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[haskell]
|
||||
symbol = "λx.x "
|
||||
```
|
||||
|
||||
## Mercurial Branch
|
||||
|
||||
@@ -730,8 +754,8 @@ pure_msg = "pure shell"
|
||||
|
||||
The `java` module shows the currently installed version of Java. The module will be shown if any of the following conditions are met:
|
||||
|
||||
- The current directory contains a `pom.xml`, `build.gradle`, `build.gradle.kts` or `build.sbt` file
|
||||
- The current directory contains a file with the `.java`, `.class` or `.jar` extension
|
||||
- The current directory contains a `pom.xml`, `build.gradle.kts` or `build.sbt` file
|
||||
- The current directory contains a file with the `.java`, `.class`, `.gradle` or `.jar` extension
|
||||
|
||||
### Options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user