From 5a82b300c1ec5f6bac57c66e06eaa7807d5f964d Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 17 Apr 2026 10:53:46 +0100 Subject: fix: remove redundant ZELLIJ_CONFIG_FILE env var The env var pointed to the same default path zellij already uses ($XDG_CONFIG_HOME/zellij/config.kdl). It was added as a workaround to prevent config overwrites, but investigating the zellij source (config.rs, lib.rs) confirmed the overwrite is caused by the setup wizard's Reconfigure instruction, not a path resolution issue. The real protection: deploy stow before first zellij launch so the config file exists and write_config_to_disk_if_it_does_not_exist() returns false, preventing the wizard from appearing. --- home/.config/zsh/.zprofile | 1 - 1 file changed, 1 deletion(-) diff --git a/home/.config/zsh/.zprofile b/home/.config/zsh/.zprofile index 76c7fbe..fc1554d 100644 --- a/home/.config/zsh/.zprofile +++ b/home/.config/zsh/.zprofile @@ -103,7 +103,6 @@ export XCOMPOSECACHE="$XDG_CACHE_HOME/X11/xcompose" export XCOMPOSEFILE="$XDG_CONFIG_HOME/X11/xcompose" export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" export XSERVERRC="$XDG_CONFIG_HOME/X11/xserverrc" -export ZELLIJ_CONFIG_FILE="$XDG_CONFIG_HOME/zellij/config.kdl" # XAUTHORITY breaks xauth over SSH, only set locally [[ -n $XDG_RUNTIME_DIR && -z $SSH_TTY ]] && export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" -- cgit v1.2.3-70-g09d2