Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.

Add zoxide-only caching with cache invalidation#51

Open
theherk wants to merge 1 commit into
MLFlexer:mainfrom
theherk:cache
Open

Add zoxide-only caching with cache invalidation#51
theherk wants to merge 1 commit into
MLFlexer:mainfrom
theherk:cache

Conversation

@theherk

@theherk theherk commented Apr 6, 2026

Copy link
Copy Markdown
Contributor
  • Add cache_ttl parameter to switch_workspace() and get_choices().
  • Cache only zoxide results; always fetch active workspaces fresh.
  • Filter active workspaces from cached zoxide list to avoid duplicates.
  • Add invalidate_cache() method and corresponding event.
  • Default cache_ttl is 0 (no cache) for backward compatibility.

- Add cache_ttl parameter to switch_workspace() and get_choices().
- Cache only zoxide results; always fetch active workspaces fresh.
- Filter active workspaces from cached zoxide list to avoid duplicates.
- Add invalidate_cache() method and corresponding event.
- Default cache_ttl is 0 (no cache) for backward compatibility.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant