diff --git a/module/common/tmux/tmux.conf b/module/common/tmux/tmux.conf index 6a63cc14..753c72e1 100644 --- a/module/common/tmux/tmux.conf +++ b/module/common/tmux/tmux.conf @@ -23,9 +23,6 @@ bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy" # Selection style. set -g mode-style 'fg=color236,bg=color184 bold' -# Update environment from client. -set-option -g update-environment "SSH_CLIENT SSH_TTY DOCKER_CONFIG DOCKER_HOST DISPLAY XAUTHORITY" - # Remap split keys. bind -n M-\\ split-window -h -c "#{pane_current_path}" bind -n M-- split-window -v -c "#{pane_current_path}" @@ -101,3 +98,5 @@ bind -n M-Q swap-window -t -1\; select-window -t -1 set-option -g default-terminal "tmux-256color" set-option -g focus-events on set-option -sa terminal-features 'RGB' +set-option -g update-environment "SSH_CLIENT SSH_TTY DOCKER_CONFIG DOCKER_HOST DISPLAY XAUTHORITY BASH_PATH" +