{"slug": "starship-toml", "title": "starship.toml", "summary": "This is a configuration file for the Starship shell prompt, written in TOML format. It defines a custom prompt layout with segments for the operating system, username, directory, git branch, and command duration, using the Catppuccin Mocha color palette. The configuration also enables language-specific modules for Node.js, Python, Java, Rust, and Go, and includes custom icons for various operating systems and directories.", "body_md": "starship.toml\n\n      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.\n      \nLearn more about bidirectional Unicode characters\n\n \n    Show hidden characters\n\n\"$schema\" = 'https://starship.rs/config-schema.json'\n\nformat = \"\"\"\n\n[](red)\\\n\n$os\\\n\n$username\\\n\n[](bg:peach fg:red)\\\n\n$directory\\\n\n[](bg:yellow fg:peach)\\\n\n$git_branch\\\n\n$git_status\\\n\n[ ](fg:yellow)\\\n\n$cmd_duration\\\n\n$line_break\\\n\n$character\"\"\"\n\nright_format = \"\"\"\n\n$conda\\\n\n$nodejs\\\n\n$python\\\n\n$java\\\n\n$rust\\\n\n$golang\"\"\"\n\npalette = 'catppuccin_mocha'\n\n[os]\n\ndisabled = false\n\nstyle = \"bg:red fg:crust\"\n\n[os.symbols]\n\nWindows = \"\"\n\nUbuntu = \"󰕈\"\n\nSUSE = \"\"\n\nRaspbian = \"󰐿\"\n\nMint = \"󰣭\"\n\nMacos = \"󰀵\"\n\nManjaro = \"\"\n\nLinux = \"󰌽\"\n\nGentoo = \"󰣨\"\n\nFedora = \"󰣛\"\n\nAlpine = \"\"\n\nAmazon = \"\"\n\nAndroid = \"\"\n\nAOSC = \"\"\n\nArch = \"󰣇\"\n\nArtix = \"󰣇\"\n\nCentOS = \"\"\n\nDebian = \"󰣚\"\n\nRedhat = \"󱄛\"\n\nRedHatEnterprise = \"󱄛\"\n\n[username]\n\nshow_always = true\n\nstyle_user = \"bg:red fg:crust\"\n\nstyle_root = \"bg:red fg:crust\"\n\nformat = '[ $user]($style)'\n\n[directory]\n\nstyle = \"bg:peach fg:crust\"\n\nformat = \"[ $path ]($style)\"\n\ntruncation_length = 0\n\ntruncate_to_repo = false\n\n[directory.substitutions]\n\n\"Documents\" = \"󰈙 \"\n\n\"Downloads\" = \" \"\n\n\"Music\" = \"󰝚 \"\n\n\"Pictures\" = \" \"\n\n\"Developer\" = \"󰲋 \"\n\n[git_branch]\n\nsymbol = \"\"\n\nstyle = \"bg:yellow\"\n\nformat = '[[ $symbol $branch ](fg:crust bg:yellow)]($style)'\n\n[git_status]\n\nstyle = \"bg:yellow\"\n\nformat = '[[($all_status$ahead_behind )](fg:crust bg:yellow)]($style)'\n\n[nodejs]\n\nsymbol = \"\"\n\nstyle = \"bg:green\"\n\nformat = '[[ $symbol $version ](fg:crust bg:green)]($style)'\n\n[c]\n\nsymbol = \" \"\n\nstyle = \"bg:green\"\n\nformat = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'\n\n[rust]\n\nsymbol = \"\"\n\nstyle = \"bg:green\"\n\nformat = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'\n\n[golang]\n\nsymbol = \"\"\n\nstyle = \"bg:green\"\n\nformat = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'\n\n[php]\n\nsymbol = \"\"\n\nstyle = \"bg:green\"\n\nformat = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'\n\n[java]\n\nsymbol = \" \"\n\nstyle = \"bg:green\"\n\nformat = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'\n\n[kotlin]\n\nsymbol = \"\"\n\nstyle = \"bg:green\"\n\nformat = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'\n\n[haskell]\n\nsymbol = \"\"\n\nstyle = \"bg:green\"\n\nformat = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'\n\n[python]\n\nsymbol = \"\"\n\nstyle = \"bg:green\"\n\nformat = '[[ $symbol( $version)(\\(#$virtualenv\\)) ](fg:crust bg:green)]($style)'\n\n[docker_context]\n\nsymbol = \"\"\n\nstyle = \"bg:sapphire\"\n\nformat = '[[ $symbol( $context) ](fg:crust bg:sapphire)]($style)'\n\n[conda]\n\nsymbol = \" \"\n\nstyle = \"sapphire\"\n\nformat = '[$symbol$environment]($style)'\n\nignore_base = false\n\n[time]\n\ndisabled = true\n\n[line_break]\n\ndisabled = false\n\n[character]\n\ndisabled = false\n\nsuccess_symbol = '[❯](bold fg:green)'\n\nerror_symbol = '[❯](bold fg:red)'\n\nvimcmd_symbol = '[❮](bold fg:green)'\n\nvimcmd_replace_one_symbol = '[❮](bold fg:lavender)'\n\nvimcmd_replace_symbol = '[❮](bold fg:lavender)'\n\nvimcmd_visual_symbol = '[❮](bold fg:yellow)'\n\n[cmd_duration]\n\nshow_milliseconds = true\n\nformat = \" in $duration \"\n\nstyle = \"bg:lavender\"\n\ndisabled = false\n\nshow_notifications = true\n\nmin_time_to_notify = 45000\n\n[palettes.catppuccin_mocha]\n\nrosewater = \"#f5e0dc\"\n\nflamingo = \"#f2cdcd\"\n\npink = \"#f5c2e7\"\n\nmauve = \"#cba6f7\"\n\nred = \"#f38ba8\"\n\nmaroon = \"#eba0ac\"\n\npeach = \"#fab387\"\n\nyellow = \"#f9e2af\"\n\ngreen = \"#a6e3a1\"\n\nteal = \"#94e2d5\"\n\nsky = \"#89dceb\"\n\nsapphire = \"#74c7ec\"\n\nblue = \"#89b4fa\"\n\nlavender = \"#b4befe\"\n\ntext = \"#cdd6f4\"\n\nsubtext1 = \"#bac2de\"\n\nsubtext0 = \"#a6adc8\"\n\noverlay2 = \"#9399b2\"\n\noverlay1 = \"#7f849c\"\n\noverlay0 = \"#6c7086\"\n\nsurface2 = \"#585b70\"\n\nsurface1 = \"#45475a\"\n\nsurface0 = \"#313244\"\n\nbase = \"#1e1e2e\"\n\nmantle = \"#181825\"\n\ncrust = \"#11111b\"\n\n[palettes.catppuccin_frappe]\n\nrosewater = \"#f2d5cf\"\n\nflamingo = \"#eebebe\"\n\npink = \"#f4b8e4\"\n\nmauve = \"#ca9ee6\"\n\nred = \"#e78284\"\n\nmaroon = \"#ea999c\"\n\npeach = \"#ef9f76\"\n\nyellow = \"#e5c890\"\n\ngreen = \"#a6d189\"\n\nteal = \"#81c8be\"\n\nsky = \"#99d1db\"\n\nsapphire = \"#85c1dc\"\n\nblue = \"#8caaee\"\n\nlavender = \"#babbf1\"\n\ntext = \"#c6d0f5\"\n\nsubtext1 = \"#b5bfe2\"\n\nsubtext0 = \"#a5adce\"\n\noverlay2 = \"#949cbb\"\n\noverlay1 = \"#838ba7\"\n\noverlay0 = \"#737994\"\n\nsurface2 = \"#626880\"\n\nsurface1 = \"#51576d\"\n\nsurface0 = \"#414559\"\n\nbase = \"#303446\"\n\nmantle = \"#292c3c\"\n\ncrust = \"#232634\"\n\n[palettes.catppuccin_latte]\n\nrosewater = \"#dc8a78\"\n\nflamingo = \"#dd7878\"\n\npink = \"#ea76cb\"\n\nmauve = \"#8839ef\"\n\nred = \"#d20f39\"\n\nmaroon = \"#e64553\"\n\npeach = \"#fe640b\"\n\nyellow = \"#df8e1d\"\n\ngreen = \"#40a02b\"\n\nteal = \"#179299\"\n\nsky = \"#04a5e5\"\n\nsapphire = \"#209fb5\"\n\nblue = \"#1e66f5\"\n\nlavender = \"#7287fd\"\n\ntext = \"#4c4f69\"\n\nsubtext1 = \"#5c5f77\"\n\nsubtext0 = \"#6c6f85\"\n\noverlay2 = \"#7c7f93\"\n\noverlay1 = \"#8c8fa1\"\n\noverlay0 = \"#9ca0b0\"\n\nsurface2 = \"#acb0be\"\n\nsurface1 = \"#bcc0cc\"\n\nsurface0 = \"#ccd0da\"\n\nbase = \"#eff1f5\"\n\nmantle = \"#e6e9ef\"\n\ncrust = \"#dce0e8\"\n\n[palettes.catppuccin_macchiato]\n\nrosewater = \"#f4dbd6\"\n\nflamingo = \"#f0c6c6\"\n\npink = \"#f5bde6\"\n\nmauve = \"#c6a0f6\"\n\nred = \"#ed8796\"\n\nmaroon = \"#ee99a0\"\n\npeach = \"#f5a97f\"\n\nyellow = \"#eed49f\"\n\ngreen = \"#a6da95\"\n\nteal = \"#8bd5ca\"\n\nsky = \"#91d7e3\"\n\nsapphire = \"#7dc4e4\"\n\nblue = \"#8aadf4\"\n\nlavender = \"#b7bdf8\"\n\ntext = \"#cad3f5\"\n\nsubtext1 = \"#b8c0e0\"\n\nsubtext0 = \"#a5adcb\"\n\noverlay2 = \"#939ab7\"\n\noverlay1 = \"#8087a2\"\n\noverlay0 = \"#6e738d\"\n\nsurface2 = \"#5b6078\"\n\nsurface1 = \"#494d64\"\n\nsurface0 = \"#363a4f\"\n\nbase = \"#24273a\"\n\nmantle = \"#1e2030\"\n\ncrust = \"#181926\"", "url": "https://wpnews.pro/news/starship-toml", "canonical_source": "https://gist.github.com/zhangchitc/62f5dca64c599084f936fda9963f1100", "published_at": "2026-03-24 07:19:12+00:00", "updated_at": "2026-05-23 14:06:50.804872+00:00", "lang": "en", "topics": ["developer-tools", "open-source"], "entities": ["Starship"], "alternates": {"html": "https://wpnews.pro/news/starship-toml", "markdown": "https://wpnews.pro/news/starship-toml.md", "text": "https://wpnews.pro/news/starship-toml.txt", "jsonld": "https://wpnews.pro/news/starship-toml.jsonld"}}