ssh fixings

This commit is contained in:
Daniel Lundin 2023-06-06 13:02:35 +02:00
parent ebcced2c12
commit 571c350379
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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