From 64895ff3f2ba24e677651d34774a7fe08555fb67 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sun, 12 May 2024 09:14:59 -0400 Subject: [PATCH] Launch Tmux in Fish instead of in Kitty --- .config/fish/config.fish | 5 +++++ .config/kitty/kitty.conf | 2 +- README.org | 11 ++++++++++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 33365c9..b17181d 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -62,3 +62,8 @@ end # Starship Prompt starship init fish | source + +if status is-interactive +and not set -q TMUX + tmux new-session +end diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 30cb425..39484c2 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -761,7 +761,7 @@ mark3_background #f274bc #: Advanced {{{ -shell tmux +shell fish #: The shell program to execute. The default value of . means to use #: whatever shell is set as the default shell for the current user. diff --git a/README.org b/README.org index 9bdd654..e2b49f1 100644 --- a/README.org +++ b/README.org @@ -5330,6 +5330,15 @@ fish_pager_color_secondary_completion f8f8f2 fish_pager_color_secondary_description 6272a4 #+END_SRC +**** Start Tmux + +#+BEGIN_SRC fish :tangle .config/fish/config.fish +if status is-interactive +and not set -q TMUX + tmux new-session +end +#+END_SRC + ** Terminal *** Kitty @@ -6136,7 +6145,7 @@ mark3_background #f274bc #+BEGIN_SRC conf :tangle .config/kitty/kitty.conf #: Advanced {{{ -shell tmux +shell fish #: The shell program to execute. The default value of . means to use #: whatever shell is set as the default shell for the current user.