diff options
author | Urbain Vaes <urbain@vaes.uk> | 2019-03-01 17:16:38 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2019-03-01 17:16:38 +0100 |
commit | 52a0dd8ddb5163211dd7e3835513937a6b856f2b (patch) | |
tree | 80d5b42b4325870dbd67b408aaf9218f90bbca99 /tmux | |
parent | ad1be5bfb7a94e93c46b02961dace2dd7c55ff3d (diff) |
[Tmux] Set different color for ssh sessions
Diffstat (limited to 'tmux')
-rw-r--r-- | tmux/.tmux.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 7df3a18..3775965 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -21,6 +21,8 @@ set -g default-terminal "screen-256color" set -g pane-border-status off # Alternative: top/bottom/... set -g pane-border-format "#{pane_current_command}" +set-hook -g session-created "if-shell '[ -n \""'$SSH_CONNECTION'"\" ]' 'set status-bg \"#aa4444\"'" + PILOT_IGNORE= PILOT_BOUNDARY=ignore PILOT_MODE=wintab |