Browse Source

corrected remove dangling function

master
ojizero 2 years ago
parent
commit
575ce5ff3f
  1. 2
      .docker_shims.zsh

2
.docker_shims.zsh

@ -93,7 +93,7 @@ function docker-remove-dangling { @@ -93,7 +93,7 @@ function docker-remove-dangling {
local dopts="${input% // *}"
local args="${input#* // }"
local dangling_images=$(eval "/usr/bin/env docker ${dopts} images --filter dangling=true --quiet")
local dangling_images=$(eval "/usr/bin/env docker ${dopts} images --filter dangling=true --quiet" | tr '\n' ' ')
local s=$?
if [[ $s -ne 0 ]]; then

Loading…
Cancel
Save