zellij/zellij-utils/assets/shell/auto-start.zsh

12 lines
208 B
Bash
Raw Permalink Normal View History

if [[ -z "$ZELLIJ" ]]; then
if [[ "$ZELLIJ_AUTO_ATTACH" == "true" ]]; then
zellij attach -c
else
zellij
fi
if [[ "$ZELLIJ_AUTO_EXIT" == "true" ]]; then
exit
fi
fi