mirror of
https://github.com/starship/starship.git
synced 2025-02-28 16:23:31 +01:00
Fix: Issue #6549 - Space after OS icons should be in format, not table
Replacing the space after the OS icons with a space in the format so that people like me can just set format = '[$symbol]($style)' and not touch the table.
This commit is contained in:
parent
eede6d97c2
commit
977a0e4c2a
@ -25,59 +25,59 @@ impl<'a> OSConfig<'a> {
|
||||
impl Default for OSConfig<'_> {
|
||||
fn default() -> Self {
|
||||
OSConfig {
|
||||
format: "[$symbol]($style)",
|
||||
format: "[$symbol] ($style)",
|
||||
style: "bold white",
|
||||
symbols: indexmap! {
|
||||
Type::AIX => "➿ ",
|
||||
Type::Alpaquita => "🔔 ",
|
||||
Type::AlmaLinux => "💠 ",
|
||||
Type::Alpine => "🏔️ ",
|
||||
Type::Amazon => "🙂 ",
|
||||
Type::Android => "🤖 ",
|
||||
Type::Arch => "🎗️ ",
|
||||
Type::Artix => "🎗️ ",
|
||||
Type::CachyOS => "🎗️ ",
|
||||
Type::CentOS => "💠 ",
|
||||
Type::Debian => "🌀 ",
|
||||
Type::DragonFly => "🐉 ",
|
||||
Type::Emscripten => "🔗 ",
|
||||
Type::EndeavourOS => "🚀 ",
|
||||
Type::Fedora => "🎩 ",
|
||||
Type::FreeBSD => "😈 ",
|
||||
Type::Garuda => "🦅 ",
|
||||
Type::Gentoo => "🗜️ ",
|
||||
Type::HardenedBSD => "🛡️ ",
|
||||
Type::Illumos => "🐦 ",
|
||||
Type::Kali => "🐉 ",
|
||||
Type::Linux => "🐧 ",
|
||||
Type::Mabox => "📦 ",
|
||||
Type::Macos => "🍎 ",
|
||||
Type::Manjaro => "🥭 ",
|
||||
Type::Mariner => "🌊 ",
|
||||
Type::MidnightBSD => "🌘 ",
|
||||
Type::Mint => "🌿 ",
|
||||
Type::NetBSD => "🚩 ",
|
||||
Type::NixOS => "❄️ ",
|
||||
Type::Nobara => "🎩 ",
|
||||
Type::OpenBSD => "🐡 ",
|
||||
Type::OpenCloudOS => "☁️ ",
|
||||
Type::openEuler => "🦉 ",
|
||||
Type::openSUSE => "🦎 ",
|
||||
Type::OracleLinux => "🦴 ",
|
||||
Type::Pop => "🍭 ",
|
||||
Type::Raspbian => "🍓 ",
|
||||
Type::Redhat => "🎩 ",
|
||||
Type::RedHatEnterprise => "🎩 ",
|
||||
Type::RockyLinux => "💠 ",
|
||||
Type::Redox => "🧪 ",
|
||||
Type::Solus => "⛵ ",
|
||||
Type::SUSE => "🦎 ",
|
||||
Type::Ubuntu => "🎯 ",
|
||||
Type::Ultramarine => "🔷 ",
|
||||
Type::Unknown => "❓ ",
|
||||
Type::Uos => "🐲 ",
|
||||
Type::Void => " ",
|
||||
Type::Windows => "🪟 ",
|
||||
Type::AIX => "➿",
|
||||
Type::Alpaquita => "🔔",
|
||||
Type::AlmaLinux => "💠",
|
||||
Type::Alpine => "🏔️",
|
||||
Type::Amazon => "🙂",
|
||||
Type::Android => "🤖",
|
||||
Type::Arch => "🎗️",
|
||||
Type::Artix => "🎗️",
|
||||
Type::CachyOS => "🎗️",
|
||||
Type::CentOS => "💠",
|
||||
Type::Debian => "🌀",
|
||||
Type::DragonFly => "🐉",
|
||||
Type::Emscripten => "🔗",
|
||||
Type::EndeavourOS => "🚀",
|
||||
Type::Fedora => "🎩",
|
||||
Type::FreeBSD => "😈",
|
||||
Type::Garuda => "🦅",
|
||||
Type::Gentoo => "🗜️",
|
||||
Type::HardenedBSD => "🛡️",
|
||||
Type::Illumos => "🐦",
|
||||
Type::Kali => "🐉",
|
||||
Type::Linux => "🐧",
|
||||
Type::Mabox => "📦",
|
||||
Type::Macos => "🍎",
|
||||
Type::Manjaro => "🥭",
|
||||
Type::Mariner => " ",
|
||||
Type::MidnightBSD => "🌘",
|
||||
Type::Mint => "🌿",
|
||||
Type::NetBSD => "🚩",
|
||||
Type::NixOS => "❄️",
|
||||
Type::Nobara => "🎩",
|
||||
Type::OpenBSD => "🐡",
|
||||
Type::OpenCloudOS => "☁️",
|
||||
Type::openEuler => "🦉",
|
||||
Type::openSUSE => "🦎",
|
||||
Type::OracleLinux => "🦴",
|
||||
Type::Pop => "🍭",
|
||||
Type::Raspbian => "🍓",
|
||||
Type::Redhat => "🎩",
|
||||
Type::RedHatEnterprise => "🎩",
|
||||
Type::RockyLinux => "💠",
|
||||
Type::Redox => "🧪",
|
||||
Type::Solus => "⛵",
|
||||
Type::SUSE => "🦎",
|
||||
Type::Ubuntu => "🎯",
|
||||
Type::Ultramarine => "🔷",
|
||||
Type::Unknown => "❓",
|
||||
Type::Uos => "🐲",
|
||||
Type::Void => "",
|
||||
Type::Windows => "🪟",
|
||||
// Future symbols.
|
||||
//aosc => " ",
|
||||
//artix => " ",
|
||||
|
Loading…
Reference in New Issue
Block a user