]> git.armaanb.net Git - config.org.git/commitdiff
tmux: set window title to current command
authorArmaan Bhojwani <me@armaanb.net>
Sat, 19 Jun 2021 00:26:31 +0000 (20:26 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Sat, 19 Jun 2021 03:07:45 +0000 (23:07 -0400)
config.org

index fc47ba8b4b58d503708dc840d7cc5fac6fa06e57..c24dd6fb7f3e1f0607f7642246564d20e223ac83 100644 (file)
@@ -1229,7 +1229,12 @@ I use tmux in order to keep my st build light. Still learning how it works.
 #+begin_src conf :tangle ~/.tmux.conf
   set -g status off
   set -g mouse on
+
   set-option -g history-limit 50000
+
+  set -g set-titles on
+  set -g set-titles-string "#W"
+
   set-window-option -g mode-keys vi
   bind-key -T copy-mode-vi 'v' send -X begin-selection
   bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'