From 3f162167f990e1a857d018ff21ce114e29faaadc Mon Sep 17 00:00:00 2001 From: Timofey Gelazoniya Date: Tue, 25 Mar 2025 18:34:52 +0300 Subject: [PATCH] fix: ensure fish is launched as login shell in first window The SSH agent wasn't properly initializing in the first tmux window becausefish wasn't being launched as a login shell. This caused the condition status is-login to fail, preventing wsl2-ssh-agent from running. --- wsl/.config/tmux/tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsl/.config/tmux/tmux.conf b/wsl/.config/tmux/tmux.conf index 2407f05..c74f192 100644 --- a/wsl/.config/tmux/tmux.conf +++ b/wsl/.config/tmux/tmux.conf @@ -61,7 +61,7 @@ set-window-option -g window-status-current-style bg=default # Create a single default session - because a session is created here, tmux # should be started with "tmux attach" rather than "tmux new" -new -d -s1 -nfish 'fish' +new -d -s1 -nfish 'fish -l' set -t1:1 monitor-activity on set -t1:1 aggressive-resize on neww -d