feat(os): add new os symbols (#5849)
This commit is contained in:
parent
d308e918ee
commit
df65b2155f
|
@ -1165,6 +1165,8 @@
|
||||||
"format": "[$symbol]($style)",
|
"format": "[$symbol]($style)",
|
||||||
"style": "bold white",
|
"style": "bold white",
|
||||||
"symbols": {
|
"symbols": {
|
||||||
|
"AIX": "โฟ ",
|
||||||
|
"AlmaLinux": "๐ ",
|
||||||
"Alpaquita": "๐ ",
|
"Alpaquita": "๐ ",
|
||||||
"Alpine": "๐๏ธ ",
|
"Alpine": "๐๏ธ ",
|
||||||
"Amazon": "๐ ",
|
"Amazon": "๐ ",
|
||||||
|
@ -1182,6 +1184,7 @@
|
||||||
"Gentoo": "๐๏ธ ",
|
"Gentoo": "๐๏ธ ",
|
||||||
"HardenedBSD": "๐ก๏ธ ",
|
"HardenedBSD": "๐ก๏ธ ",
|
||||||
"Illumos": "๐ฆ ",
|
"Illumos": "๐ฆ ",
|
||||||
|
"Kali": "๐ ",
|
||||||
"Linux": "๐ง ",
|
"Linux": "๐ง ",
|
||||||
"Mabox": "๐ฆ ",
|
"Mabox": "๐ฆ ",
|
||||||
"Macos": "๐ ",
|
"Macos": "๐ ",
|
||||||
|
@ -1199,10 +1202,13 @@
|
||||||
"RedHatEnterprise": "๐ฉ ",
|
"RedHatEnterprise": "๐ฉ ",
|
||||||
"Redhat": "๐ฉ ",
|
"Redhat": "๐ฉ ",
|
||||||
"Redox": "๐งช ",
|
"Redox": "๐งช ",
|
||||||
|
"RockyLinux": "๐ ",
|
||||||
"SUSE": "๐ฆ ",
|
"SUSE": "๐ฆ ",
|
||||||
"Solus": "โต ",
|
"Solus": "โต ",
|
||||||
"Ubuntu": "๐ฏ ",
|
"Ubuntu": "๐ฏ ",
|
||||||
|
"Ultramarine": "๐ท ",
|
||||||
"Unknown": "โ ",
|
"Unknown": "โ ",
|
||||||
|
"Void": "๎ ",
|
||||||
"Windows": "๐ช ",
|
"Windows": "๐ช ",
|
||||||
"openEuler": "๐ฆ ",
|
"openEuler": "๐ฆ ",
|
||||||
"openSUSE": "๐ฆ "
|
"openSUSE": "๐ฆ "
|
||||||
|
@ -4670,6 +4676,8 @@
|
||||||
},
|
},
|
||||||
"symbols": {
|
"symbols": {
|
||||||
"default": {
|
"default": {
|
||||||
|
"AIX": "โฟ ",
|
||||||
|
"AlmaLinux": "๐ ",
|
||||||
"Alpaquita": "๐ ",
|
"Alpaquita": "๐ ",
|
||||||
"Alpine": "๐๏ธ ",
|
"Alpine": "๐๏ธ ",
|
||||||
"Amazon": "๐ ",
|
"Amazon": "๐ ",
|
||||||
|
@ -4687,6 +4695,7 @@
|
||||||
"Gentoo": "๐๏ธ ",
|
"Gentoo": "๐๏ธ ",
|
||||||
"HardenedBSD": "๐ก๏ธ ",
|
"HardenedBSD": "๐ก๏ธ ",
|
||||||
"Illumos": "๐ฆ ",
|
"Illumos": "๐ฆ ",
|
||||||
|
"Kali": "๐ ",
|
||||||
"Linux": "๐ง ",
|
"Linux": "๐ง ",
|
||||||
"Mabox": "๐ฆ ",
|
"Mabox": "๐ฆ ",
|
||||||
"Macos": "๐ ",
|
"Macos": "๐ ",
|
||||||
|
@ -4704,10 +4713,13 @@
|
||||||
"RedHatEnterprise": "๐ฉ ",
|
"RedHatEnterprise": "๐ฉ ",
|
||||||
"Redhat": "๐ฉ ",
|
"Redhat": "๐ฉ ",
|
||||||
"Redox": "๐งช ",
|
"Redox": "๐งช ",
|
||||||
|
"RockyLinux": "๐ ",
|
||||||
"SUSE": "๐ฆ ",
|
"SUSE": "๐ฆ ",
|
||||||
"Solus": "โต ",
|
"Solus": "โต ",
|
||||||
"Ubuntu": "๐ฏ ",
|
"Ubuntu": "๐ฏ ",
|
||||||
|
"Ultramarine": "๐ท ",
|
||||||
"Unknown": "โ ",
|
"Unknown": "โ ",
|
||||||
|
"Void": "๎ ",
|
||||||
"Windows": "๐ช ",
|
"Windows": "๐ช ",
|
||||||
"openEuler": "๐ฆ ",
|
"openEuler": "๐ฆ ",
|
||||||
"openSUSE": "๐ฆ "
|
"openSUSE": "๐ฆ "
|
||||||
|
|
|
@ -3173,7 +3173,9 @@ If you would like an operating system to be added, feel free to open a [feature
|
||||||
```toml
|
```toml
|
||||||
# This is the default symbols table.
|
# This is the default symbols table.
|
||||||
[os.symbols]
|
[os.symbols]
|
||||||
|
AIX = "โฟ "
|
||||||
Alpaquita = "๐ "
|
Alpaquita = "๐ "
|
||||||
|
AlmaLinux = "๐ "
|
||||||
Alpine = "๐๏ธ "
|
Alpine = "๐๏ธ "
|
||||||
Amazon = "๐ "
|
Amazon = "๐ "
|
||||||
Android = "๐ค "
|
Android = "๐ค "
|
||||||
|
@ -3190,6 +3192,7 @@ Garuda = "๐ฆ
"
|
||||||
Gentoo = "๐๏ธ "
|
Gentoo = "๐๏ธ "
|
||||||
HardenedBSD = "๐ก๏ธ "
|
HardenedBSD = "๐ก๏ธ "
|
||||||
Illumos = "๐ฆ "
|
Illumos = "๐ฆ "
|
||||||
|
Kali = "๐ "
|
||||||
Linux = "๐ง "
|
Linux = "๐ง "
|
||||||
Mabox = "๐ฆ "
|
Mabox = "๐ฆ "
|
||||||
Macos = "๐ "
|
Macos = "๐ "
|
||||||
|
@ -3208,11 +3211,14 @@ Pop = "๐ญ "
|
||||||
Raspbian = "๐ "
|
Raspbian = "๐ "
|
||||||
Redhat = "๐ฉ "
|
Redhat = "๐ฉ "
|
||||||
RedHatEnterprise = "๐ฉ "
|
RedHatEnterprise = "๐ฉ "
|
||||||
|
RockyLinux = "๐ "
|
||||||
Redox = "๐งช "
|
Redox = "๐งช "
|
||||||
Solus = "โต "
|
Solus = "โต "
|
||||||
SUSE = "๐ฆ "
|
SUSE = "๐ฆ "
|
||||||
Ubuntu = "๐ฏ "
|
Ubuntu = "๐ฏ "
|
||||||
|
Ultramarine = "๐ท "
|
||||||
Unknown = "โ "
|
Unknown = "โ "
|
||||||
|
Void = "๎ "
|
||||||
Windows = "๐ช "
|
Windows = "๐ช "
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,7 @@ symbol = "๎บ "
|
||||||
[os.symbols]
|
[os.symbols]
|
||||||
Alpaquita = "๎ชข "
|
Alpaquita = "๎ชข "
|
||||||
Alpine = "๏ "
|
Alpine = "๏ "
|
||||||
|
AlmaLinux = "๏ "
|
||||||
Amazon = "๏ฐ "
|
Amazon = "๏ฐ "
|
||||||
Android = "๏
ป "
|
Android = "๏
ป "
|
||||||
Arch = "๏ "
|
Arch = "๏ "
|
||||||
|
@ -103,6 +104,7 @@ Garuda = "๓ฐ "
|
||||||
Gentoo = "๏ "
|
Gentoo = "๏ "
|
||||||
HardenedBSD = "๓ฐ "
|
HardenedBSD = "๓ฐ "
|
||||||
Illumos = "๓ฐธ "
|
Illumos = "๓ฐธ "
|
||||||
|
Kali = "๏ง "
|
||||||
Linux = "๏ "
|
Linux = "๏ "
|
||||||
Mabox = "๎ฌฉ "
|
Mabox = "๎ฌฉ "
|
||||||
Macos = "๏ "
|
Macos = "๏ "
|
||||||
|
@ -119,11 +121,13 @@ Pop = "๏ช "
|
||||||
Raspbian = "๏ "
|
Raspbian = "๏ "
|
||||||
Redhat = "๏ "
|
Redhat = "๏ "
|
||||||
RedHatEnterprise = "๏ "
|
RedHatEnterprise = "๏ "
|
||||||
|
RockyLinux = "๏ซ "
|
||||||
Redox = "๓ฐ "
|
Redox = "๓ฐ "
|
||||||
Solus = "๓ฐ ณ "
|
Solus = "๓ฐ ณ "
|
||||||
SUSE = "๏ "
|
SUSE = "๏ "
|
||||||
Ubuntu = "๏ "
|
Ubuntu = "๏ "
|
||||||
Unknown = "๏ญ "
|
Unknown = "๏ญ "
|
||||||
|
Void = "๏ฎ "
|
||||||
Windows = "๓ฐฒ "
|
Windows = "๓ฐฒ "
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
|
|
|
@ -119,7 +119,9 @@ symbol = "ml "
|
||||||
symbol = "opa "
|
symbol = "opa "
|
||||||
|
|
||||||
[os.symbols]
|
[os.symbols]
|
||||||
|
AIX = "aix "
|
||||||
Alpaquita = "alq "
|
Alpaquita = "alq "
|
||||||
|
AlmaLinux = "alma "
|
||||||
Alpine = "alp "
|
Alpine = "alp "
|
||||||
Amazon = "amz "
|
Amazon = "amz "
|
||||||
Android = "andr "
|
Android = "andr "
|
||||||
|
@ -136,6 +138,7 @@ Garuda = "garu "
|
||||||
Gentoo = "gent "
|
Gentoo = "gent "
|
||||||
HardenedBSD = "hbsd "
|
HardenedBSD = "hbsd "
|
||||||
Illumos = "lum "
|
Illumos = "lum "
|
||||||
|
Kali = "kali "
|
||||||
Linux = "lnx "
|
Linux = "lnx "
|
||||||
Mabox = "mbox "
|
Mabox = "mbox "
|
||||||
Macos = "mac "
|
Macos = "mac "
|
||||||
|
@ -154,11 +157,14 @@ Pop = "pop "
|
||||||
Raspbian = "rasp "
|
Raspbian = "rasp "
|
||||||
Redhat = "rhl "
|
Redhat = "rhl "
|
||||||
RedHatEnterprise = "rhel "
|
RedHatEnterprise = "rhel "
|
||||||
|
Rocky = "rky "
|
||||||
Redox = "redox "
|
Redox = "redox "
|
||||||
Solus = "sol "
|
Solus = "sol "
|
||||||
SUSE = "suse "
|
SUSE = "suse "
|
||||||
Ubuntu = "ubnt "
|
Ubuntu = "ubnt "
|
||||||
|
Ultramarine = "ultm "
|
||||||
Unknown = "unk "
|
Unknown = "unk "
|
||||||
|
Void = "void "
|
||||||
Windows = "win "
|
Windows = "win "
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
|
|
|
@ -28,7 +28,9 @@ impl<'a> Default for OSConfig<'a> {
|
||||||
format: "[$symbol]($style)",
|
format: "[$symbol]($style)",
|
||||||
style: "bold white",
|
style: "bold white",
|
||||||
symbols: indexmap! {
|
symbols: indexmap! {
|
||||||
|
Type::AIX => "โฟ ",
|
||||||
Type::Alpaquita => "๐ ",
|
Type::Alpaquita => "๐ ",
|
||||||
|
Type::AlmaLinux => "๐ ",
|
||||||
Type::Alpine => "๐๏ธ ",
|
Type::Alpine => "๐๏ธ ",
|
||||||
Type::Amazon => "๐ ",
|
Type::Amazon => "๐ ",
|
||||||
Type::Android => "๐ค ",
|
Type::Android => "๐ค ",
|
||||||
|
@ -45,6 +47,7 @@ impl<'a> Default for OSConfig<'a> {
|
||||||
Type::Gentoo => "๐๏ธ ",
|
Type::Gentoo => "๐๏ธ ",
|
||||||
Type::HardenedBSD => "๐ก๏ธ ",
|
Type::HardenedBSD => "๐ก๏ธ ",
|
||||||
Type::Illumos => "๐ฆ ",
|
Type::Illumos => "๐ฆ ",
|
||||||
|
Type::Kali => "๐ ",
|
||||||
Type::Linux => "๐ง ",
|
Type::Linux => "๐ง ",
|
||||||
Type::Mabox => "๐ฆ ",
|
Type::Mabox => "๐ฆ ",
|
||||||
Type::Macos => "๐ ",
|
Type::Macos => "๐ ",
|
||||||
|
@ -63,11 +66,14 @@ impl<'a> Default for OSConfig<'a> {
|
||||||
Type::Raspbian => "๐ ",
|
Type::Raspbian => "๐ ",
|
||||||
Type::Redhat => "๐ฉ ",
|
Type::Redhat => "๐ฉ ",
|
||||||
Type::RedHatEnterprise => "๐ฉ ",
|
Type::RedHatEnterprise => "๐ฉ ",
|
||||||
|
Type::RockyLinux => "๐ ",
|
||||||
Type::Redox => "๐งช ",
|
Type::Redox => "๐งช ",
|
||||||
Type::Solus => "โต ",
|
Type::Solus => "โต ",
|
||||||
Type::SUSE => "๐ฆ ",
|
Type::SUSE => "๐ฆ ",
|
||||||
Type::Ubuntu => "๐ฏ ",
|
Type::Ubuntu => "๐ฏ ",
|
||||||
|
Type::Ultramarine => "๐ท ",
|
||||||
Type::Unknown => "โ ",
|
Type::Unknown => "โ ",
|
||||||
|
Type::Void => "๎ ",
|
||||||
Type::Windows => "๐ช ",
|
Type::Windows => "๐ช ",
|
||||||
// Future symbols.
|
// Future symbols.
|
||||||
//aosc => "๏ ",
|
//aosc => "๏ ",
|
||||||
|
@ -79,7 +85,6 @@ impl<'a> Default for OSConfig<'a> {
|
||||||
//mandriva => "๏ ",
|
//mandriva => "๏ ",
|
||||||
//sabayon => "๏ ",
|
//sabayon => "๏ ",
|
||||||
//slackware => "๏ ",
|
//slackware => "๏ ",
|
||||||
//void => "๎ ",
|
|
||||||
//solaris => "๏
",
|
//solaris => "๏
",
|
||||||
},
|
},
|
||||||
disabled: true,
|
disabled: true,
|
||||||
|
|
|
@ -331,12 +331,13 @@ mod tests {
|
||||||
// - dosc/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
// - dosc/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
||||||
// - .github/config-schema.json
|
// - .github/config-schema.json
|
||||||
let _ = |t: Type| match t {
|
let _ = |t: Type| match t {
|
||||||
|
Type::AIX => "โฟ ",
|
||||||
Type::Alpaquita => "๐ ",
|
Type::Alpaquita => "๐ ",
|
||||||
Type::Alpine => "๐๏ธ ",
|
Type::Alpine => "๐๏ธ ",
|
||||||
Type::Amazon => "๐ ",
|
Type::Amazon => "๐ ",
|
||||||
Type::Android => "๐ค ",
|
Type::Android => "๐ค ",
|
||||||
Type::Arch | Type::Artix => "๐๏ธ ",
|
Type::Arch | Type::Artix => "๐๏ธ ",
|
||||||
Type::CentOS => "๐ ",
|
Type::CentOS | Type::AlmaLinux | Type::RockyLinux => "๐ ",
|
||||||
Type::Debian => "๐ ",
|
Type::Debian => "๐ ",
|
||||||
Type::DragonFly => "๐ ",
|
Type::DragonFly => "๐ ",
|
||||||
Type::Emscripten => "๐ ",
|
Type::Emscripten => "๐ ",
|
||||||
|
@ -347,6 +348,7 @@ mod tests {
|
||||||
Type::Gentoo => "๐๏ธ ",
|
Type::Gentoo => "๐๏ธ ",
|
||||||
Type::HardenedBSD => "๐ก๏ธ ",
|
Type::HardenedBSD => "๐ก๏ธ ",
|
||||||
Type::Illumos => "๐ฆ ",
|
Type::Illumos => "๐ฆ ",
|
||||||
|
Type::Kali => "๐ ",
|
||||||
Type::Linux => "๐ง ",
|
Type::Linux => "๐ง ",
|
||||||
Type::Mabox => "๐ฆ ",
|
Type::Mabox => "๐ฆ ",
|
||||||
Type::Macos => "๐ ",
|
Type::Macos => "๐ ",
|
||||||
|
@ -369,7 +371,9 @@ mod tests {
|
||||||
Type::Solus => "โต ",
|
Type::Solus => "โต ",
|
||||||
Type::SUSE => "๐ฆ ",
|
Type::SUSE => "๐ฆ ",
|
||||||
Type::Ubuntu => "๐ฏ ",
|
Type::Ubuntu => "๐ฏ ",
|
||||||
|
Type::Ultramarine => "๐ท ",
|
||||||
Type::Unknown => "โ ",
|
Type::Unknown => "โ ",
|
||||||
|
Type::Void => "๎ ",
|
||||||
Type::Windows => "๐ช ",
|
Type::Windows => "๐ช ",
|
||||||
_ => "",
|
_ => "",
|
||||||
};
|
};
|
||||||
|
|
Loadingโฆ
Reference in New Issue