According by this standards
> While "Julia" is a female name in many parts of the world, the programming language is not a person and does not have a gender.
This commit is contained in:
Shu Kutsuzawa 2020-04-07 18:07:51 +09:00 committed by GitHub
parent b01b498b9e
commit 2f449af680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -838,7 +838,7 @@ The module will be shown if any of the following conditions are met:
| Variable | Default | Description | | Variable | Default | Description |
| ---------- | ------------- | -------------------------------------------------------- | | ---------- | ------------- | -------------------------------------------------------- |
| `symbol` | `" "` | The symbol used before displaying the version of Julia. | | `symbol` | `" "` | The symbol used before displaying the version of Julia. |
| `style` | `"bold purple"` | The style for the module. | | `style` | `"bold purple"` | The style for the module. |
| `disabled` | `false` | Disables the `julia` module. | | `disabled` | `false` | Disables the `julia` module. |
@ -848,7 +848,7 @@ The module will be shown if any of the following conditions are met:
# ~/.config/starship.toml # ~/.config/starship.toml
[julia] [julia]
symbol = "👸 " symbol = " "
``` ```
## Kubernetes ## Kubernetes

View File

@ -14,7 +14,7 @@ pub struct JuliaConfig<'a> {
impl<'a> RootModuleConfig<'a> for JuliaConfig<'a> { impl<'a> RootModuleConfig<'a> for JuliaConfig<'a> {
fn new() -> Self { fn new() -> Self {
JuliaConfig { JuliaConfig {
symbol: SegmentConfig::new(" "), symbol: SegmentConfig::new(" "),
version: SegmentConfig::default(), version: SegmentConfig::default(),
style: Color::Purple.bold(), style: Color::Purple.bold(),
disabled: false, disabled: false,

View File

@ -75,7 +75,7 @@ mod tests {
let actual = render_module("julia", dir.path()); let actual = render_module("julia", dir.path());
let expected = Some(format!("via {} ", Color::Purple.bold().paint(" v1.4.0"))); let expected = Some(format!("via {} ", Color::Purple.bold().paint(" v1.4.0")));
assert_eq!(expected, actual); assert_eq!(expected, actual);
dir.close() dir.close()
} }
@ -87,7 +87,7 @@ mod tests {
let actual = render_module("julia", dir.path()); let actual = render_module("julia", dir.path());
let expected = Some(format!("via {} ", Color::Purple.bold().paint(" v1.4.0"))); let expected = Some(format!("via {} ", Color::Purple.bold().paint(" v1.4.0")));
assert_eq!(expected, actual); assert_eq!(expected, actual);
dir.close() dir.close()
} }
@ -99,7 +99,7 @@ mod tests {
let actual = render_module("julia", dir.path()); let actual = render_module("julia", dir.path());
let expected = Some(format!("via {} ", Color::Purple.bold().paint(" v1.4.0"))); let expected = Some(format!("via {} ", Color::Purple.bold().paint(" v1.4.0")));
assert_eq!(expected, actual); assert_eq!(expected, actual);
dir.close() dir.close()
} }