tmux: add automatic update for ssh-agent with remote attach

This commit is contained in:
masterzu 2018-12-12 10:33:25 +01:00
parent 8aebe7be85
commit 80e4643bbd
1 changed files with 2 additions and 0 deletions

View File

@ -25,3 +25,5 @@ bind C-a last-pane
# reload this file
bind r source-file /home/patrick/.tmux.conf \; display-message ".tmux.conf reloaded"
# automatic update env for ssh-agent
set-option -g update-environment SSH_AUTH_SOCK