Skip to content

Commit

Permalink
Make sure SWAYSOCK gets cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
fortes committed Sep 18, 2024
1 parent ab0f5b7 commit e5fad43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stowed-files/tmux/.config/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ if-shell 'test -z "${SSH_CONNECTION}"' {
set-option -gaq status-right '%R'
# }}}
# Update when creating or attaching
set-option -gq update-environment "SWAYSOCK SSH_AUTH_SOCK SSH_AGENT_PID"
# Tweak some behaviors when using SSH
if-shell 'test -n "${SSH_CONNECTION}"' {
# Use a different prefix when using SSH in order to make nesting easier
Expand Down

0 comments on commit e5fad43

Please sign in to comment.