Created
January 13, 2025 01:43
-
-
Save ogra/a3faa222a02364218d9ee5e84e248bac to your computer and use it in GitHub Desktop.
Autostart Zellij with terminals other than Warp.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ "$TERM_PROGRAM" != "WarpTerminal" ]]; then | |
if [[ -z "$ZELLIJ" ]]; then | |
if [[ "$ZELLIJ_AUTO_START" != "false" ]]; then | |
if command -v zellij >/dev/null 2>&1; then | |
eval "$(zellij setup --generate-auto-start zsh)" | |
fi | |
fi | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment