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.