ssh fixings
This commit is contained in:
parent
ebcced2c12
commit
571c350379
2 changed files with 2 additions and 1 deletions
2
.ssh/rc
2
.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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue