-
I am trying to learn my way through the configs for this code. I have explicitly followed the setup instructions. I am making very simple config changes to the segments, but they do not appear when I exit tmux and relaunch it. (My config.sh https://gist.github.com/sgss-jeff/bf66ed7fb41c75fc1ffba2938b4ce6e3 with the only change, in line 444) The default configuration works as show in the screen shot. I expect the Weather segment display to change to "F" when I change I have made changes to config.sh and exited tmux, then relaunched it. I have made changes while no TMUX sessions were running, closed my SSH session (and all other SSH sessions to the same machine), reconnected, and launched tmux. None of these seem to work. The only way I can get the change to take effect is to REBOOT the machine I am running tmux-powerline on. It's like I am reliving 1999 and Windows NT4.0. Where, why, and how are my configurations getting cached, and how do I fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello, A reboot should certainly not be needed, that's for sure! Actually changes in your Could you please make sure to try with a minimal From what you describe, it sounds like it's an issue with the paths used. Could you please detail and investigate the location of:
Please try out the steps at the README debugging session. As a shell setup is quite complex, in the end you are the best person to debug this, as there could be some many possible issues. Please try to find out if the right config files are edited and then actually used by tmux-powerline. Specifically, you can run the statusbar rendering on cli directly and see if changes have been picked up or not. ( Please let us know how it goes :). Edit. You can also easily spin up a Codespace container to get a working live example of how it should work properly. You can spin it up and compare with how it works locally on your own shell setup. Click the "Open in Codespaces" button at the top of the README. |
Beta Was this translation helpful? Give feedback.
-
To add to @erikw's answer, in your specific case, the So if you change the Besides changing the already mentioned |
Beta Was this translation helpful? Give feedback.
Hello,
A reboot should certainly not be needed, that's for sure! Actually changes in your
config.sh
should be picked up instantly, i.e. on the next render of the statusbar. Unless you have some other settings in yourtmux.conf
, the default re-render of the statusbar is set to be every 1 second.Could you please make sure to try with a minimal
tmux.conf
, having no custom tmux settings and just the initialization of TPM and this plugin.From what you describe, it sounds like it's an issue with the paths used. Could you please detail and investigate the location of:
tmux.conf
tmux-powerline
installationPlease try out the steps at the README debugging sess…