mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-27 03:42:39 +00:00
Fix julia icon based on https://julialang.org/community/standards/ (#1055)
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:
parent
b01b498b9e
commit
2f449af680
@ -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
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user