From a50f0c98b4d39480e194ebb203d73ab6f3097039 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 18 Apr 2026 22:19:14 +0000 Subject: [PATCH] Use zsh command hash check for podman-compose consistency Agent-Logs-Url: https://github.com/hykilpikonna/zshrc/sessions/f3bb0455-e68a-4be8-a7d5-b9fe6c79c7c4 Co-authored-by: hykilpikonna <22280294+hykilpikonna@users.noreply.github.com> --- scripts/zshrc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zshrc.sh b/scripts/zshrc.sh index abcffa8..1db50aa 100755 --- a/scripts/zshrc.sh +++ b/scripts/zshrc.sh @@ -290,7 +290,7 @@ modern-replace 'code' 'visual-studio-code-electron' # If podman binary exists and docker binary doesn't exist, alias docker=podman if (( ! $+commands[docker] && $+commands[podman] )); then alias docker='podman' - if command -v podman-compose &> /dev/null; then + if (( $+commands[podman-compose] )); then alias docker-compose='podman-compose' fi fi