From b8c898b3ccd62a5ed0c27851261ed1dc0e7d091a Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 18 Feb 2025 06:25:06 -0800 Subject: [PATCH] Some container stuff --- init.zsh | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/init.zsh b/init.zsh index 54d0054..964dac1 100644 --- a/init.zsh +++ b/init.zsh @@ -32,7 +32,9 @@ function source_user_file { source_user_file "early-init" # Load distrobox early init file -if [[ -v DISTROBOX_ENTER_PATH ]] && [[ -e /run/.containerenv ]]; then +local is_in_container=false +if [[ -e /run/.containerenv ]]; then + is_in_container=true local ctenv=("${(@f)"$(