omerxx / tmux-sessionx

A Tmux session manager, with preview, fuzzy finding, and MORE
GNU General Public License v3.0
554 stars 51 forks source link

Filter current session after session removal #98

Open omerxx opened 1 month ago

omerxx commented 1 month ago

copying the filter process from the main plugin function to reload sessions. This should fix #72 so that the current session isn't filtered if set so in the config.

omerxx commented 1 month ago

Should fix #72

sarojregmi200 commented 1 month ago

@omerxx Yes, it fixes the above issue ( #72 ) and has no additional bugs regarding the above issue. But as anticipated in the above mentioned issue it still is not a good fix. As it ignores other configuration such as:

set -g @sessionx-custom-paths '/custom/path'

And others are yet to be tested.

omerxx commented 1 month ago

Got it @sarojregmi200 , I'm afraid there's no way around exporting this method. I'll get to it soon and update

sarojregmi200 commented 1 month ago

Yep, we are waiting for it do remember me if you need any help. It felt good looking around bash script.