@markhepburn@atuin Thanks, I didn't know about directory-local history!
Atuin certainly works, but fzf is such a good fuzzy filter that I might try directory-local history with plain fzf.
Wilfred Hughes
1 Comment
@wilfredh @atuin If you're after best-of-both-worlds, I used this for a while (I removed the '+' in the LBUFFER line): https://news.ycombinator.com/item?id=35256206
Atuin for history, fzf for searching, and bindings to switch between local/global history.
I'm experimenting with Atuin for searching my terminal history: https://atuin.sh/
Previously I'd just used fzf to find items, which does work nicely. Occasionally I *really* want to search "commands which were run in this directory" though, which Atuin offers.
I'm a big fan of history-based fuzzy directory switchers like autojump. I used fasd until recently, but I've started playing with zoxide and it's been good so far.
This is such an established niche that zoxide can import history from other tools!
I'm really impressed with fzf, the terminal fuzzy finder. It makes ctrl-r way more powerful, and it even has a ctrl-t to pass file arguments!
It uses existing terminal history rather than 'enable and now you will have history', which is nice too.