From 9cbac9b6fdbaf565d16eaceb8fff4816e03ae884 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 1 May 2025 14:13:34 +0300 Subject: Update --- dotfiles/fish/conf.d/tmux.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/fish/conf.d/tmux.fish b/dotfiles/fish/conf.d/tmux.fish index ea1b986..e65960e 100644 --- a/dotfiles/fish/conf.d/tmux.fish +++ b/dotfiles/fish/conf.d/tmux.fish @@ -8,7 +8,7 @@ end function _tmux::connect_command set -l server_or_pod $argv[1] if test -z "$TMUX_KEXEC" - echo "ssh -t $server_or_pod" + echo "ssh -A -t $server_or_pod" else echo "kubectl exec -it $server_or_pod -- /bin/bash" end @@ -36,7 +36,7 @@ end function tmux::remote set -l server $argv[1] - tmux new -s $server "ssh -t $server 'tmux attach-session || tmux'" || tmux attach-session -d -t $server + tmux new -s $server "ssh -A -t $server 'tmux attach-session || tmux'" || tmux attach-session -d -t $server end function tmux::search -- cgit v1.2.3