1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-27 03:42:39 +00:00

Add ruby to default module ordering (#217)

This commit is contained in:
Kevin Song 2019-08-21 12:41:01 -07:00 committed by GitHub
parent 1943da86ce
commit 360ea988e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -47,7 +47,7 @@ This is the list of prompt-wide configuration options.
### Options ### Options
| Variable | Default | Description | | Variable | Default | Description |
| -------------- | ------- | ------------------------------------------------------------------ | | -------------- | ----------------------------- | ------------------------------------------------------ |
| `add_newline` | `true` | Add a new line before the start of the prompt. | | `add_newline` | `true` | Add a new line before the start of the prompt. |
| `prompt_order` | [link](#default-prompt-order) | Configure the order in which the prompt module occurs. | | `prompt_order` | [link](#default-prompt-order) | Configure the order in which the prompt module occurs. |
@ -72,6 +72,7 @@ default_prompt_order = [
"git_status", "git_status",
"package", "package",
"nodejs", "nodejs",
"ruby",
"rust", "rust",
"python", "python",
"golang", "golang",

View File

@ -18,6 +18,7 @@ const DEFAULT_PROMPT_ORDER: &[&str] = &[
"git_status", "git_status",
"package", "package",
"nodejs", "nodejs",
"ruby",
"rust", "rust",
"python", "python",
"golang", "golang",