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