Skip to content

Instantly share code, notes, and snippets.

@filipelperes
Last active January 15, 2025 23:48
Show Gist options
  • Save filipelperes/a8d8b9b9c9711806ea30ceaa295efce7 to your computer and use it in GitHub Desktop.
Save filipelperes/a8d8b9b9c9711806ea30ceaa295efce7 to your computer and use it in GitHub Desktop.
Starship Config
#GLOBAL
format = """
$fill\n
$sudo\
$username\
$hostname\
$shlvl\
$singularity\
$kubernetes\
$directory\
$vcsh\
$fossil_branch\
$fossil_metrics\
$git_branch\
$hg_branch\
$pijul_channel\
$docker_context\
$package\
$c\
$cmake\
$cobol\
$daml\
$dart\
$deno\
$dotnet\
$elixir\
$elm\
$erlang\
$fennel\
$golang\
$guix_shell\
$haskell\
$haxe\
$helm\
$java\
$julia\
$kotlin\
$gradle\
$lua\
$nim\
$nodejs\
$ocaml\
$opa\
$perl\
$php\
$pulumi\
$purescript\
$python\
$quarto\
$raku\
$rlang\
$red\
$ruby\
$rust\
$scala\
$solidity\
$swift\
$terraform\
$typst\
$vlang\
$vagrant\
$zig\
$buf\
$nix_shell\
$conda\
$meson\
$spack\
$aws\
$gcloud\
$openstack\
$azure\
$direnv\
$env_var\
$crystal\
$custom\
$container\
$line_break\
$character
"""
# $status\ in right_format
right_format = """
$cmd_duration\
$os\
$shell\
$time\
$battery\
$git_commit\
$git_state\
$git_metrics\
$git_status\
$memory_usage\
$localip\
"""
# Inserts a blank line between shell prompts
add_newline = true
# Use the color palette
palette = "dracula"
#LEFT
[sudo]
format = "[$symbol]($style)"
symbol = "Sudo "
disabled = false
# Define Dracula color palette
[palettes.dracula]
background = "#282a36"
current_line = "#44475a"
foreground = "#f8f8f2"
comment = "#6272a4"
cyan = "#8be9fd"
green = "#50fa7b"
orange = "#ffb86c"
pink = "#ff79c6"
purple = "#bd93f9"
red = "#ff5555"
yellow = "#f1fa8c"
[line_break]
disabled = true
[character]
success_symbol = "[➜](bold green)"
error_symbol = "[➜](bold white)"
disabled = true
[directory]
read_only = " 🔒"
style = "italic cyan bold"
[fossil_branch]
symbol = ""
[git_branch]
symbol = ""
[fill]
symbol = " "
style = "bold dimmed white strikethrough"
[aws]
symbol = ""
[azure]
symbol = "󰠅 "
[buf]
symbol = ""
[bun]
symbol = "🍞 "
[c]
symbol = ""
[cmake]
symbol = ""
[cobol]
symbol = "⚙️ "
[conda]
symbol = ""
[container]
symbol = ""
[crystal]
symbol = ""
[daml]
symbol = "Λ "
[dart]
symbol = ""
[deno]
symbol = "🦕 "
[docker_context]
symbol = "🐳 "
[dotnet]
symbol = ".NET "
[elixir]
symbol = ""
[elm]
symbol = ""
[erlang]
symbol = "e "
[fennel]
symbol = "🧅 "
[gcloud]
symbol = "☁️ "
[golang]
symbol = ""
[guix_shell]
symbol = ""
[gradle]
symbol = "🅶 "
[haskell]
symbol = ""
[haxe]
symbol = ""
[helm]
symbol = ""
[hg_branch]
symbol = ""
[hostname]
ssh_symbol = "🌐 "
[java]
symbol = ""
[jobs]
symbol = ""
[julia]
symbol = ""
[kotlin]
symbol = ""
[kubernetes]
symbol = ""
[lua]
symbol = "🌙 "
[meson]
symbol = "󰔷 "
[nim]
symbol = "👑 "
[nix_shell]
symbol = "❄️ "
[nodejs]
symbol = ""
[ocaml]
symbol = "🐫 "
[opa]
symbol = "🪖 "
[openstack]
symbol = "☁️ "
[package]
symbol = "📦 "
[perl]
symbol = "🐪 "
[php]
symbol = "🐘 "
[pijul_channel]
symbol = ""
[pulumi]
symbol = ""
[purescript]
symbol = "<=> "
[python]
symbol = ""
[quarto]
symbol = ""
[rlang]
symbol = "󰟔 "
[raku]
symbol = "🦋 "
[red]
symbol = "🔴 "
[ruby]
symbol = "💎 "
[rust]
symbol = ""
[scala]
symbol = ""
[solidity]
symbol = "S "
[spack]
symbol = "🅢 "
[swift]
symbol = ""
[terraform]
symbol = "󱁢 "
[typst]
symbol = "t "
[vagrant]
symbol = ""
[vlang]
symbol = "V "
[zig]
symbol = ""
#RIGHT
[cmd_duration]
min_time = 500
format = "[$duration](bold italic white) [|](italic dimmed white) "
[status]
format = "[$symbol]($style) [|](italic dimmed white) "
success_symbol = "[󰸞](bold green)"
style = "bold red"
disabled = false
[os]
format = "[$symbol]($style) [|](italic dimmed white) "
disabled = false
[os.symbols]
AIX = ""
Alpaquita = "🔔"
AlmaLinux = "💠"
Alpine = "🏔️"
Amazon = ""
Android = ""
Arch = ""
Artix = "🎗️"
CentOS = ""
Debian = ""
DragonFly = "🐉"
Emscripten = ""
EndeavourOS = ""
Fedora = "󰣛"
FreeBSD = "󰣠"
Garuda = "🦅"
Gentoo = ""
HardenedBSD = "🛡️"
Illumos = ""
Kali = ""
Linux = "🐧"
Mabox = "📦"
Macos = ""
Manjaro = ""
Mariner = ""
MidnightBSD = ""
Mint = "󰣭"
NetBSD = "🚩"
NixOS = "❄️"
OpenBSD = ""
OpenCloudOS = "☁️"
openEuler = "🦉"
openSUSE = ""
OracleLinux = "󰌷"
Pop = ""
Raspbian = ""
Redhat = "🎩"
RedHatEnterprise = "🎩"
RockyLinux = ""
Redox = "󰀘"
Solus = ""
SUSE = ""
Ubuntu = ""
Ultramarine = "🔷"
Unknown = ""
Void = ""
Windows = ""
[shell]
fish_indicator = '󰈺'
powershell_indicator = '_'
unknown_indicator = ''
style = 'bold italic dimmed white'
disabled = false
format = "[$indicator | ]($style)"
[time]
disabled = false
format = "[$time](bold dimmed white) [|](italic dimmed white) "
time_format = "%R"
utc_time_offset = "local"
[battery]
format = "[$percentage $symbol]($style)"
full_symbol = "🔋"
charging_symbol = "[󰂄](green)"
discharging_symbol = "󰂃"
unknown_symbol = "󰁽"
empty_symbol = "[󰂎](red)"
[[battery.display]] # 'bold red' style and discharging_symbol when capacity is between 0% and 10%
threshold = 15
style = "bold dimmed red"
[[battery.display]]
threshold = 40
style = "bold dimmed yellow"
[[battery.display]]
threshold = 100
style = "bold dimmed white"
[git_commit]
tag_symbol = " 🏷 "
format = " [|](italic dimmed white) [$hash$tag]($style)"
style = "bold green"
[git_state]
format = " [|](italic dimmed white) [$state($progress_current/$progress_total)]($style)"
[git_metrics]
format = " [|](italic dimmed white) ([+$added]($added_style) )([-$deleted]($deleted_style) )"
[git_status]
style = "italic bold italic red"
format = """ [|](italic dimmed white)[$all_status$ahead_behind]($style)"""
conflicted = "[ =](italic red)"
ahead = "[ ⇡ [$count](bold white)](bold white)"
behind = "[ ⇣[$count](bold white)](italic red)"
diverged = "[ ⇕|[${ahead_count}](regular white)│⇣|[${behind_count}](regular white)│](italic bright-magenta)"
untracked = "[ $count U](bold italic #50fa7b)"
stashed = "[ S](italic white)"
modified = "[ $count M](bold italic #f1fa8c)"
staged = "[ + $count](italic bold white)"
renamed = "[ »](italic bright-blue)"
deleted = "[ ✘](italic red)"
up_to_date = "[ ✓ Up to date](bold italic dimmed white)"
[memory_usage]
symbol = "▪▫▪ "
format = " [|](italic dimmed white) $symbol[${ram}( | ${swap})]($style) "
[localip]
ssh_only = true
format = " [|](italic dimmed white) ◯ [$localipv4](bold magenta)"
disabled = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment