From 4df60e4992772ab2bdd2d0c2d9b37462e522c2a6 Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 31 Jan 2026 22:03:02 +0100 Subject: [PATCH] no ms --- .starship.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.starship.toml b/.starship.toml index 1d4a69b..23ba712 100644 --- a/.starship.toml +++ b/.starship.toml @@ -27,7 +27,6 @@ format = "[$path]($style)[$read_only]($read_only_style)" [cmd_duration] min_time = 5_000 -show_milliseconds = true format = '[$duration]($style) ' [time] @@ -43,9 +42,9 @@ success_symbol = "[➤](green)" error_symbol = "[➤](red)" [custom.docker_compose] -command = '''docker compose ps --format json 2>/dev/null | jq -rs 'if length == 0 then halt else [group_by(.State) | .[] | "\(if .[0].State == "running" then "▲" else "▼" end)\(length)"] | "🐳 " + join("/") end' ''' +command = '''docker compose ps --format json 2>/dev/null | jq -rse 'if length == 0 then halt_error(1) else [group_by(.State) | .[] | "\(if .[0].State == "running" then "▲" else "▼" end)\(length)"] | "🐳 " + join("/") end' ''' detect_files = ["docker-compose.yml", "docker-compose.yaml", "compose.yml", "compose.yaml"] shell = ["bash", "--noprofile", "--norc"] style = "blue bold" symbol = "" -format = "[$output]($style) " +format = "[$output ]($style)"