From 1039d9e81e49df11a5ae967dfdfca9226abadc43 Mon Sep 17 00:00:00 2001 From: Timofey Gelazoniya Date: Tue, 25 Mar 2025 18:21:56 +0300 Subject: [PATCH] fix: ssh-agent bridge --- wsl/.config/fish/config.fish | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wsl/.config/fish/config.fish b/wsl/.config/fish/config.fish index 45e2bf4..1622395 100644 --- a/wsl/.config/fish/config.fish +++ b/wsl/.config/fish/config.fish @@ -21,6 +21,8 @@ if status is-interactive end # Configure ssh-agent for WSL, see: https://github.com/mame/wsl2-ssh-agent -set -x SSH_AUTH_SOCK /home/user/.ssh/wsl2-ssh-agent.sock +if status is-login + /usr/sbin/wsl2-ssh-agent | source +end -starship init fish | source +starship init fish | source \ No newline at end of file