From 08894a100e0175ea65c86735733890a779025084 Mon Sep 17 00:00:00 2001 From: ArgentumCation Date: Sat, 6 Jan 2024 10:00:26 -0500 Subject: [PATCH] switch from zellij to tmux --- executable_dot_zshrc | 8 +++----- private_dot_config/tmux/executable_tmux.conf | 2 ++ 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 private_dot_config/tmux/executable_tmux.conf diff --git a/executable_dot_zshrc b/executable_dot_zshrc index ef1ad82..4b47297 100644 --- a/executable_dot_zshrc +++ b/executable_dot_zshrc @@ -7,11 +7,9 @@ checkCommand(){ type "$1" >/dev/null 2>&1 } # If you have zellij installed, this will auto start it -#if [ -z "$ZELLIJ" ] && checkCommand zellij; then -# #export ZELLIJ_AUTO_ATTACH=true -# exec zellij -#fi - +if [ -z "$TMUX" ] && checkCommand tmux; then + exec tmux new -As0 +fi # Speed up shell load on WSL OLDPATH=$PATH PATH=$(echo "$PATH" | sed -e 's/\/mnt\/.*\?://g') diff --git a/private_dot_config/tmux/executable_tmux.conf b/private_dot_config/tmux/executable_tmux.conf new file mode 100644 index 0000000..7cd0664 --- /dev/null +++ b/private_dot_config/tmux/executable_tmux.conf @@ -0,0 +1,2 @@ +# Tell tmux to use 256-color internally +set -ga terminal-overrides ",xterm-256color:Tc"