From 11f4ef5beb1d8f8450152049a6abe74bd75e80d4 Mon Sep 17 00:00:00 2001 From: oxypomme Date: Thu, 5 Jun 2025 09:54:50 +0200 Subject: [PATCH] feat: added optional support of docker-compose --- .config/containers/containers.conf | 2 +- .zshrc | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.config/containers/containers.conf b/.config/containers/containers.conf index 2888de8..fd95aeb 100644 --- a/.config/containers/containers.conf +++ b/.config/containers/containers.conf @@ -1,3 +1,3 @@ [engine] -compose_providers=["/usr/bin/podman-compose"] +compose_providers=["/usr/bin/podman-compose", "/usr/libexec/docker/cli-plugins/docker-compose"] # compose_warning_logs=false diff --git a/.zshrc b/.zshrc index bf372f8..25eaf14 100644 --- a/.zshrc +++ b/.zshrc @@ -1,12 +1,12 @@ -# If you come from bash you might have to change your $PATH. -export PATH=$HOME/.local/bin:/usr/local/bin:$PATH +# # If you come from bash you might have to change your $PATH. +# export PATH=$HOME/.local/bin:/usr/local/bin:$PATH -# pnpm -export PNPM_HOME="/home/sublet/.local/share/pnpm" -case ":$PATH:" in - *":$PNPM_HOME:"*) ;; - *) export PATH="$PNPM_HOME:$PATH" ;; -esac +# # pnpm +# export PNPM_HOME="/home/sublet/.local/share/pnpm" +# case ":$PATH:" in +# *":$PNPM_HOME:"*) ;; +# *) export PATH="$PNPM_HOME:$PATH" ;; +# esac # Path to your Oh My Zsh installation. export ZSH="$HOME/.oh-my-zsh" @@ -156,6 +156,7 @@ alias df="duf --hide-fs squashfs,tmpfs,efivarfs,devtmpfs" alias grep="ugrep" alias curl="curlie" # alias code="snap run code" +alias docker-compose="PODMAN_COMPOSE_PROVIDER=/usr/libexec/docker/cli-plugins/docker-compose podman compose" # Generated for envman. Do not edit. [ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"