From 20aafe29e851f10b64a3c4e1803c150af3bbcbc2 Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Mon, 4 Mar 2024 15:39:55 +0300 Subject: [PATCH] zsh: update examples --- .config/zsh/local.zsh.example | 6 ------ .config/zsh/local/env.zsh.example | 10 ++++++++++ 2 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 .config/zsh/local/env.zsh.example diff --git a/.config/zsh/local.zsh.example b/.config/zsh/local.zsh.example index 235daa5..44f3368 100644 --- a/.config/zsh/local.zsh.example +++ b/.config/zsh/local.zsh.example @@ -2,9 +2,3 @@ ## skip system-wide podman completion and produce own ZSHU_COMP_FORCE[podman]=1 - -## systemctl status podman.socket -export DOCKER_HOST=unix:///run/podman/podman.sock - -## systemctl --user status podman.socket -export DOCKER_HOST=unix://${XDG_RUNTIME_DIR}/podman/podman.sock diff --git a/.config/zsh/local/env.zsh.example b/.config/zsh/local/env.zsh.example new file mode 100644 index 0000000..be6c6eb --- /dev/null +++ b/.config/zsh/local/env.zsh.example @@ -0,0 +1,10 @@ +#!/bin/zsh + +z-ssh-agent +z-gpg-agent + +## systemctl status podman.socket +export DOCKER_HOST=unix:///run/podman/podman.sock + +## systemctl --user status podman.socket +export DOCKER_HOST=unix://${XDG_RUNTIME_DIR}/podman/podman.sock