Skip to content

Commit

Permalink
fix(docker-compose): include stopped containers (#1422)
Browse files Browse the repository at this point in the history
  • Loading branch information
sysradium committed Apr 30, 2024
1 parent 42bbdc0 commit be2f603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sections/docker_compose.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spaceship_docker_compose() {
spaceship::exists docker-compose || return
spaceship::upsearch -s 'docker-compose.y*ml' || return

local containers="$(docker-compose ps 2>/dev/null | tail -n+2)"
local containers="$(docker-compose ps -a 2>/dev/null | tail -n+2)"
[[ -n "$containers" ]] || return

local statuses=""
Expand Down

0 comments on commit be2f603

Please sign in to comment.