diff options
author | Tharre <tharre3@gmail.com> | 2019-10-30 02:04:02 +0100 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2019-10-30 02:04:02 +0100 |
commit | 936d41a0af416c516c6051cf5e5c7dca68ebcb14 (patch) | |
tree | 98f0334758553aa069d6d183347d87b274e30550 /.tmux.conf | |
parent | a8af042aa9c5573c89717daca110590ac6dacf1b (diff) | |
download | dotfiles-936d41a0af416c516c6051cf5e5c7dca68ebcb14.tar.gz dotfiles-936d41a0af416c516c6051cf5e5c7dca68ebcb14.tar.xz dotfiles-936d41a0af416c516c6051cf5e5c7dca68ebcb14.zip |
tmux: auto refresh environment on attach
Automatically refresh the following environment variables in all zsh
sessions inside tmux when we attach:
SSH_CONNECTION SSH_CLIENT SSH_TTY SSH_AUTH_SOCK DISPLAY
Diffstat (limited to '.tmux.conf')
-rw-r--r-- | .tmux.conf | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ set-option -g history-limit 100000 set-option -g allow-rename on set-option -g set-titles on set-option -g set-titles-string "#W" +set-option -ga update-environment " SSH_CLIENT SSH_TTY" bind-key r source-file ~/.tmux.conf \; display "Config reloaded!" bind z run tmux-url-select |