From 6c1420bb9af8e19d24463a2c31bd67db031cd68b Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Tue, 6 Feb 2024 20:24:37 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Start=20tmux=20on=20alacritty=20sta?= =?UTF-8?q?rtup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alacritty/.alacritty.toml.symlink | 4 ++++ tmux/.tmux.conf.hardlink | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/alacritty/.alacritty.toml.symlink b/alacritty/.alacritty.toml.symlink index 43872d5..c91ec40 100644 --- a/alacritty/.alacritty.toml.symlink +++ b/alacritty/.alacritty.toml.symlink @@ -4,6 +4,10 @@ import = [ '~/dotfiles/alacritty/catppuccin-mocha.toml' ] +[shell] + program = "/usr/local/bin/fish" + args = ["-c", "tmux attach -t main || tmux new -s main"] + [env] TERM = 'xterm-256color' diff --git a/tmux/.tmux.conf.hardlink b/tmux/.tmux.conf.hardlink index 91785b9..8556e22 100644 --- a/tmux/.tmux.conf.hardlink +++ b/tmux/.tmux.conf.hardlink @@ -20,7 +20,7 @@ setw -g pane-base-index 1 # Automatically renumber windows when one is deleted. set -g renumber-windows on -set -g default-terminal "tmux-256color" +set -g default-terminal "xterm-256color" set -ag terminal-overrides ",*:RGB" ################################################################################