aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2019-09-11 21:47:12 -0400
committerMitch Riedstra <mitch@riedstra.us>2019-09-11 21:49:37 -0400
commitfb8c67c4445dfd685a1a83aaf188dda6c0357b67 (patch)
treed9515753955b109b438663cd8383e29c05a7e1c1
parenta5df06f6d8de358bde59e549b5aebdf39a7d4b45 (diff)
downloaddotfiles-fb8c67c4445dfd685a1a83aaf188dda6c0357b67.tar.gz
dotfiles-fb8c67c4445dfd685a1a83aaf188dda6c0357b67.tar.xz
Set tmux title
-rw-r--r--tmux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
index 40ef438..d1b3dc0 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -72,6 +72,9 @@ set -g status-right "#[fg=green,bg=black] #(whoami)@#h|m:#(sh $HOME/.tmux_helper
set -g status-right-length 40
set -g window-status-format "#I:#W#F"
+set -g set-titles on
+set -g set-titles-string "tmux: #{session_name} [#I]#{window_name} -- #T"
+
# If you still want to select text out of the terminal as you normally would
# You should hold the shift key ( Linux ) Option/Alt works in iTerm2 on MacOS