diff --git a/dot_config/fish/private_functions/ddown.fish b/dot_config/fish/private_functions/ddown.fish index cca0901..f7fc932 100644 --- a/dot_config/fish/private_functions/ddown.fish +++ b/dot_config/fish/private_functions/ddown.fish @@ -1,5 +1,5 @@ function ddown -set -l workdir (docker inspect -f '{{ index .Config.Labels "com.docker.compose.project.working_dir" }}' (docker ps -q | head -n1)) -set -l compose_file (docker inspect -f '{{ index .Config.Labels "com.docker.compose.project.config_files" }}' (docker ps -q | head -n1)) -docker-compose -f "$workdir/$compose_file" down + #set -l workdir (docker inspect -f '{{ index .Config.Labels "com.docker.compose.project.working_dir" }}' (docker ps -q | head -n1)) + set -l compose_file (docker inspect -f '{{ index .Config.Labels "com.docker.compose.project.config_files" }}' (docker ps -q | head -n1)) + docker compose -f "$compose_file" down end