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

Fuzzier searching in prs #26

Open
colemickens opened this issue Oct 18, 2023 · 0 comments
Open

Fuzzier searching in prs #26

colemickens opened this issue Oct 18, 2023 · 0 comments

Comments

@colemickens
Copy link

Hi,

I have started a new company and have been making my entries like <company>/discord.com to align with previous naming schemes. Let's say its bigco.

However, I am used to doing prs show disco or some other shortened for my usual full entry names.

Now though, this is a bit of a pain, as I wind up having to interactively select each time.

Helix has a particularly-fuzzy search that lets me type things like pkgtoonixdefault to get to pkgs/tools/package-management/nix/default.nix with minimal typing. My brain is fairly tuned to this "type some unique-ish path characters in order and get there fast".

Similarly, it would be nice to be able to do prs show bigcodisco and have it match to bigco/discord.com. What do you think?

I considered a separate password-store and a xprs command that sets PASSWORD_STORE, which to be honest, might be better for separation of concerns, but becomes a bit of a mess to think about with respect to my syncing story and usage with Android-Password-Store.

Maybe you have another idea? If not, maybe it's possible to re-use the algorithm from the interactive fuzzy finder to do matches on the CLI? If that's not too much magic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant