summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorAndrew Guschin <guschin@altlinux.org>2024-03-11 17:43:31 +0400
committerAndrew Guschin <guschin@altlinux.org>2024-03-11 17:43:31 +0400
commited2cf36640328953cb7024e769cb61c593d3be1e (patch)
treeb3e5586adcf8ad3f1ffb4c7f29cabc203132b5ee /.zshrc
parent663e950cc9dbe6974c0e9b441780b99872f90df4 (diff)
replace tmux with zellij
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc10
1 files changed, 8 insertions, 2 deletions
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