From 6aad22192ac2d500f9e0015e9562aa60a71034f0 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sat, 8 Apr 2023 21:33:36 +0300 Subject: [PATCH] Remove podman-compose-toml.zsh Will set it up in my dotfiles instead (doc coming soon) --- README.adoc | 5 +---- podman-compose-toml.zsh | 15 --------------- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 podman-compose-toml.zsh diff --git a/README.adoc b/README.adoc index 03f4420..c43f1ed 100644 --- a/README.adoc +++ b/README.adoc @@ -3,10 +3,7 @@ This is all of the containers running in my server and their configuration. I'm using podman in rootless mode and docker-compose with podman's docker socket emulation. All compose files are in TOML -(just because I hate YAML). A helper function for ZSH `pct` -(stands for **P**odman **C**ompose **T**OML) is available in -link:https://git.korhonen.cc/FunctionalHacker/podman-compose/src/branch/main/podman-compose-toml.zsh[podman-compose-toml.zsh] - +(just because I hate YAML) == TODO diff --git a/podman-compose-toml.zsh b/podman-compose-toml.zsh deleted file mode 100644 index 07b1d34..0000000 --- a/podman-compose-toml.zsh +++ /dev/null @@ -1,15 +0,0 @@ -# source this file in ZSH to get TOML support in docker-compose -# via the pct command -# yj is required for this to work. -pct () { - local file_path=('./podman-compose.toml') - zmodload zsh/zutil - zparseopts -D -K -- f:=file_path || return 1 - file_path=${file_path[-1]} - if [[ ! -a "$file_path" ]] - then - echo "File $file_path does not exist!" - return 1 - fi - yj -ty < $file_path | docker-compose -f - $@ -}