Closed mrs4ndman closed 1 year ago
@gkanwar If you could provide me with your .tmux.conf for testing it would be nice. Either way I will be doing some testing of my own to figure this out. Thanks for pointing out the issue with your setup
Either way, the extraneous -g
is required for the program, because, without it, it bugs out and does not work as intended. It looks like in the first screenshot, when it should look like this:
If you could provide me with your .tmux.conf for testing it would be nice.
Sure, you can find it here: https://github.com/gkanwar/.dotfiles/blob/main/.config/tmux/tmux.conf
Either way, the extraneous -g is required for the program, because, without it, it bugs out and does not work as intended. It looks like in the first screenshot, when it should look like this
Very strange. I have exactly the opposite behavior.
I tested it out by running rose-pine.tmux
directly in bash to find this error. I don't see why you should need -g
, since this would be accepted as $1
in the definition of set
here:
https://github.com/rose-pine/tmux/blob/main/rose-pine.tmux#L25C1-L29C2
There is some really weird behavior that I didn't discover when I first wrote the plugin. I saw you were using a fork, but the changes shouldn't cause any malfunction.
Very strange. I have exactly the opposite behavior. I tested it out by running rose-pine.tmux directly in bash to find this error. I don't see why you should need -g, since this would be accepted as $1 in the definition of set here Just went and swapped configs and it works like you said, so it isn't a machine problem. And I did try deleting the
-g
on the local plugin file, and it leaves some whitespace around the window names (which I believe isn't intentional).
I am currently looking into it, but it seems like the options did collide with eachother (the -gq
and -g
, as you said). This is the result after the code changes that I show on the next photo:
I will commit them, and I believe this fixes what you were mentioning. The features I tweaked (shown in the diff) somehow didn't get activated, so I didn't notice them.
Overall, thanks for making me notice these mistakes. Will mention this ;)
Glad it's sorted out :)
Reverts rose-pine/tmux#5
For some reason, this "bug" on @gkanwar 's setup breaks the window name updating. But this is the result on my setup: It somehow breaks the window name in another way, and instead of the application that is running, it shows the current working directory for that window.
I need to look into this more in-depth. For now it gets a rollback. Sorry for the troubles