From 571c3503796221677c4d45fcb526dec67a71f72e Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 6 Jun 2023 13:02:35 +0200 Subject: [PATCH] ssh fixings --- .ssh/rc | 2 +- .tmux.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.ssh/rc b/.ssh/rc index 61b9390..f782092 100755 --- a/.ssh/rc +++ b/.ssh/rc @@ -1,3 +1,3 @@ if [[ -S "$SSH_AUTH_SOCK" && ! -h "$SSH_AUTH_SOCK" ]]; then - ln -sf "$SSH_AUTH_SOCK" "${XDG_RUNTIME_DIR}/ssh-agent.sock"; + ln -sf "$SSH_AUTH_SOCK" "${XDG_RUNTIME_DIR}/ssh-agent.socket"; fi diff --git a/.tmux.conf b/.tmux.conf index 637f407..e1ca4e7 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -17,6 +17,7 @@ set-option -g mouse on set -g set-clipboard on bind-key ] paste-buffer -p +set-environment -g "SSH_AUTH_SOCK" "$XDG_RUNTIME_DIR/ssh-agent.socket" set -g update-environment "BUILDCOMMAND GOPACKAGESDRIVER SSH_AUTH_SOCK SSH_CONNECTION" set -g default-command zsh set -g history-limit 10000