fix(tmux): escape session name in status-right so it updates on session switch
set -gF expands the format string at config load time, baking in the session name. Escaping as ##S keeps it dynamic; ##H was already escaped.
This commit is contained in:
+1
-1
@@ -64,6 +64,6 @@ set -g status-format[1] ""
|
||||
set -g status 2
|
||||
set -g status-justify "left"
|
||||
set -g status-left " "
|
||||
set -gF status-right "#[fg=#{@thm_crust},bg=#{@thm_teal}] #S / ##H "
|
||||
set -gF status-right "#[fg=#{@thm_crust},bg=#{@thm_teal}] ##S / ##H "
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
Reference in New Issue
Block a user