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

feat: add custom paths subdirectories #97

Closed IdoKendo closed 1 month ago

IdoKendo commented 1 month ago

This PR adds an optional flag to also view subdirectories under custom path. This is done to mimic the behavior in the sessionizer script. The flag is set -g @sessionx-custom-paths-subdirectories 'false' and can be changed to true in order to activate this functionality.

No backwards compatibility issues, since if the flag is turned off, the existing behavior remains unchanged.

omerxx commented 1 month ago

@IdoKendo Hey brother :) That's a perfect addition, I'm thinking whether this deserves to be on by default...

Can you please just rebase with the changes to resolve the conflict so I can merge?

IdoKendo commented 1 month ago

Hey 😎 Rebased and resolved the conflict. Re: default behavior, I guess it's up to you, although I don't mind it being opt-in to not disrupt existing workflows.