fix zsh ini for Wayland

This commit is contained in:
2025-12-26 12:29:27 +01:00
parent e14992e9fd
commit 95e20a7dfe

View File

@@ -19,7 +19,7 @@
};
initContent = ''
if [[ $DISPLAY ]]; then
if [[ $WAYLAND_DISPLAY ]]; then
[[ $- != *i* ]] && return
[[ -z "$TMUX" ]] && (tmux attach || tmux new-session)
fi