From 6cef7dd69713b18bceb8f38080bbe720f45c7483 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Thu, 25 Jul 2024 12:36:25 +0400 Subject: don't execute zellij on start of shell if EMACS variable is non-zero --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 6ad548e..0f69bb3 100644 --- a/.zshrc +++ b/.zshrc @@ -73,6 +73,6 @@ source $HOME/.zprofile # # exec tmux # fi -if command -v zellij &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$ZELLIJ" ]; then +if command -v zellij &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$ZELLIJ" ] && [ -z "$EMACS" ]; then exec zellij fi -- cgit v1.2.3