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

Feature Request: Instant-Interactive Mode + Zoxide with FZF #1436

Open
fire17 opened this issue Feb 19, 2024 · 1 comment
Open

Feature Request: Instant-Interactive Mode + Zoxide with FZF #1436

fire17 opened this issue Feb 19, 2024 · 1 comment

Comments

@fire17
Copy link

fire17 commented Feb 19, 2024

Hi there! hope you are well!
I've been getting hang of zoxide (with fzf) and im really think it will be amazing if thefuck adopts it
the thing with zoxide, it only does folders, but it works amazing, i can be all the way in ~/ (or anywhere) and type cd ben -> and it goes (correctly) to ~/wholesomegarden/xo-benedict (which is long to type/Up/Tab your way through) simply amazing

I want the same for general commands arguments and files,
for example, i can type p live (from directory) (p is my alias for python3.11, and inside a folder i frequently use, theres a file .///liveupdate.py)
so like zoxide, if the file/folder has a high frequency, it can give a high score to thefuck to run, over a certain positive score, it can skip the prompting to continue, like instant mode, or load a nice & rich interactive window to choose from. Just taking history should give a lot of useful things with fzf + the fuck (you probably already use it) but what i want is like zoxide for the terminal to understand my intention regardless which folder im at, and just run my commands, so this is where the fuck comes in hopefully 🙏

Oh and another important thing... as i undertand, i need to type fuck+Enter to trigger this... i thought it suppose to be instant
i would like it to recognize whenever a command was instantly regected and retry without typing fuck

If this is already implemented and i missed it i'd love to know!
Thanks a lot and all the best!

Ps- sry if its long, its late haha

@guilefoylegaurav
Copy link

guilefoylegaurav commented Mar 23, 2024

Understood.
If we can have something like Zoxide + FZF for commands instead of files and folders, then won't that be a completely different product? Something that allows you to perform fuzzy search over the space of most frecent commands? Instead of correcting commands when you're typed in an incorrect one?
Nevermind, it'll be super interesting nonetheless. I think the zoxide folks may be working on this too.

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

2 participants