From ae77adf1ed8b5e3264637bc6cc678229e8c69718 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Tue, 2 Aug 2022 14:38:20 +0200 Subject: [PATCH] Set local timezone --- .config/fish/config.fish | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index ffab146..c1b0a6f 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -5,6 +5,10 @@ set -p PATH "$HOME/.cargo/bin" function podman-default-create -w podman set -l container_name $argv[1] + if systemctl --user is-enabled container-$container_name + systemctl --user disable --now container-$container_name + end + if podman container exists $container_name podman stop $container_name end @@ -12,6 +16,7 @@ function podman-default-create -w podman podman create \ --name $container_name \ --label "io.containers.autoupdate=registry" \ + --tz local \ $argv[2..] set -l old_pwd (pwd)