From ed2cf36640328953cb7024e769cb61c593d3be1e Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Mon, 11 Mar 2024 17:43:31 +0400 Subject: replace tmux with zellij --- .zshrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 8869c4a..6ad548e 100644 --- a/.zshrc +++ b/.zshrc @@ -67,6 +67,12 @@ set_prompt source $HOME/.zprofile -if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then - exec tmux +# if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then +# # zellij +# # TERM="screen-256color" && exec tmux +# # exec tmux +# fi + +if command -v zellij &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$ZELLIJ" ]; then + exec zellij fi -- cgit v1.2.3