Roman Perepelitsa

Results 657 comments of Roman Perepelitsa

> Instead of my explaining how you can configure distributed command history on top of the existing low-level API, I'll add a new higher-level API that you can test drive....

> I was chatting with @aaronfeng about this yesterday and he was curious if it'd be possible to have shared history for a collection of ssh targets. > > For...

Did you have a chance to try it out?

See: https://github.com/romkatv/zsh4humans/blob/df5c473d344124f74f3c6a36825f460d4aef97b6/fn/z4h-fzf-complete#L85-L89 It's possible to fix that TODO but it's not trivial. If you need to complete directories, use `_directories` instead of `_files -/`.

> Also also: as `-z4h-find` depends on either `find` or `bfs` I tried installing `bfs` to see if it would make a difference. Unless some cache needs to be clearer...

Unrelated to this issue but might be relevant to you in general: https://github.com/romkatv/zsh4humans/issues/35#issuecomment-1027193022 and https://github.com/romkatv/zsh4humans/issues/35#issuecomment-1046205630

> Cool! Are there any other optional dependencies of z4h? Since it is mostly undocumented I assume yes, but it would still be nice to know still. Other optional dependencies...

> > [...] zsh patterns cannot in general be converted to find command line arguments [...] > > Would it be feasible/worth it trying to detect when it is possible...

> Another thought about optimisation (this time for ignore patterns): Looking at `-z4h-present-files` it seems to handle one file/directory result at a time. The common case is vectorized. This is...

Thanks for the bug report. I'll take a look when I get a chunk of free time. In the interim you can disable the built-in direnv integration in zsh4humans and...