Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opt-Out of Duplicate Sessions #156

Open
joshmedeski opened this issue Sep 4, 2024 · 0 comments
Open

Opt-Out of Duplicate Sessions #156

joshmedeski opened this issue Sep 4, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@joshmedeski
Copy link
Owner

joshmedeski commented Sep 4, 2024

What would you like sesh to do?

As a user, I want to be able to hide duplicate session names, so I can reduce the amount of sessions listed and more accurately get to the item that I want.

  • Hide custom config with the same name as an active tmux session
  • Hide zoxide result is the same directory as an active tmux session and/or config with a matching directory (or same session name)

Config

Possibly could be configured, names are just a placeholder.

[[list_options]]
hide_matching_config = true
hide_matching_zoxide = true

And/or it could be flags on the list command:

sesh list --hide-matching-config --hide-matching-zoxide

Conversely, the opposite flags could be used to overwrite the config:

sesh list --show-matching-config --show-matching-zoxide
@joshmedeski joshmedeski added the enhancement New feature or request label Sep 4, 2024
@joshmedeski joshmedeski self-assigned this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant