jimeh / tmux-themepack

A pack of various Tmux themes.
1.65k stars 204 forks source link

fix: status bar item duplication on conf reload #55

Open aleeraser opened 6 months ago

aleeraser commented 6 months ago

This fixes a weird behavior where a custom status bar item (e.g. a prefix) would be duplicated in the status bar after a configuration reload.

e.g. prior to this fix, setting:

set -g @theme-status-left-prefix "test"

and reloading the configuration multiple times would result in multiple 'test' strings being added as prefix.

Fixes #54

idvorkin commented 2 months ago

This resolves for me! What's the process to merge this PR? @jimeh

aleeraser commented 2 months ago

This resolves for me! What's the process to merge this PR? @jimeh

Not sure if he's ever going to answer/merge this, last commit is over 5 years old.

Anyway, you can temporarily use this fix by specifying:

set -g @plugin 'aleeraser/tmux-themepack#fix/duplication-on-reload'