mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
refactor: Rewrite cmd_duration, directory and env_var module to use module config (#460)
This PR is a batched rewrite of the following modules: - cmd_duration - directory - env_var
This commit is contained in:
committed by
Matan Kushner
parent
2fd1920f7d
commit
be2d5cf1cd
@@ -264,7 +264,7 @@ running `eval $(starship init $0)`, and then proceed as normal.
|
||||
| Variable | Default | Description |
|
||||
| ---------- | --------------- | ---------------------------------------------------------- |
|
||||
| `min_time` | `2` | Shortest duration to show time for. |
|
||||
| `prefix` | `took` | Prefix to display immediately before the command duration. |
|
||||
| `prefix` | `took ` | Prefix to display immediately before the command duration. |
|
||||
| `style` | `"bold yellow"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `cmd_duration` module. |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user