From b6b05664e19f83e07326d22a69bcdfd7c8401d55 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Thu, 26 Dec 2024 20:45:19 -0600 Subject: [PATCH] Revert "fish: disable tmux auto-attach (handle with terminal rather than shell)" This reverts commit 0c9b32b8ee5a26658cd9c01cb8157333fd4e9038. --- home/modules/tui/shell/fish/shell-init.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/home/modules/tui/shell/fish/shell-init.nix b/home/modules/tui/shell/fish/shell-init.nix index d77b15c..b22c47f 100644 --- a/home/modules/tui/shell/fish/shell-init.nix +++ b/home/modules/tui/shell/fish/shell-init.nix @@ -1,11 +1,11 @@ { programs.fish.interactiveShellInit = # Launch tmux - # '' - # if not set -q TMUX - # tmux attach-session -t $(hostname -s) || tmux new-session -s $(hostname -s) -c $HOME - # end - # '' + + '' + if not set -q TMUX + tmux attach-session -t $(hostname -s) || tmux new-session -s $(hostname -s) -c $HOME + end + '' + # Open command buffer in vim when alt+e is pressed '' bind \ee edit_command_buffer