summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-05-01 14:13:34 +0300
committerPaul Buetow <paul@buetow.org>2025-05-01 14:13:34 +0300
commit9cbac9b6fdbaf565d16eaceb8fff4816e03ae884 (patch)
tree13c771758aa15eb6c81f845f1184248b81aaed10
parent08eb1c19298b2495eaf894987ac4b06ddd321221 (diff)
Update
-rw-r--r--dotfiles/fish/conf.d/tmux.fish4
1 files 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