mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
fix!: remove haskell module (#1418)
Given how slow the Haskell module is (#1240), it is slowing down the entire prompt from rendering when the module is active. This commit removes the module until we can find a faster way to retreive the Haskell version.
This commit is contained in:
@@ -112,7 +112,6 @@ prompt_order = [
|
||||
"elm",
|
||||
"erlang",
|
||||
"golang",
|
||||
"haskell",
|
||||
"java",
|
||||
"julia",
|
||||
"nim",
|
||||
@@ -778,30 +777,6 @@ The module will be shown if any of the following conditions are met:
|
||||
[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 = " "
|
||||
```
|
||||
|
||||
## Hostname
|
||||
|
||||
|
||||
Reference in New Issue
Block a user