better multiplexer detection

This commit is contained in:
Penelope Gwen 2026-04-06 09:04:00 -07:00
parent b97466209c
commit 0514b95a66

View file

@ -1,6 +1,6 @@
#!/bin/bash
if [[ -z ${ZELLIJ} ]] && [[ -z ${SSH_CLIENT} ]]; then
if [[ -z ${ZELLIJ} ]] && command -v zellij; then
zellij && exit
fi