Live data from Hacker News

Atuin v18.13 – better search, a PTY proxy, and AI for your shell

blog.atuin.sh

81–85 of 85 posts

Re: Atuin v18.13 – better search, a PTY proxy, and AI for your shell

#81
post #80

I never found a satisfying search algotithm with atuin (iterating over time between fuzzy, skim, fulltext, and maybe others). Is there one that is both: - case insensitive (e.g. inputting "make" matches ("make install", "vim Makefile") - works on partial matches (e.g. inputting "ma in" matches ("make install", "cd main") ?

The new "daemon-fuzzy" mode uses a new fuzzy matcher powered by Nucleo and might be what you're looking for

Re: Atuin v18.13 – better search, a PTY proxy, and AI for your shell

#82
post #80

I never found a satisfying search algotithm with atuin (iterating over time between fuzzy, skim, fulltext, and maybe others). Is there one that is both: - case insensitive (e.g. inputting "make" matches ("make install", "vim Makefile") - works on partial matches (e.g. inputting "ma in" matches ("make install", "cd main") ?

The new "daemon-fuzzy" mode uses a new fuzzy matcher powered by Nucleo and might be what you're looking for

it seems indeed better in some ways, but the scoring is still way off,

for example, for my second criteria:

> - works on partial matches (e.g. inputting "ma in" matches ("make install", "cd main")

typing "ma in" I would expect "make install" to come before "cd main" to come before (what's currently the very first hit) "cd Binaries/Multimedia".

I'm now reading about https://docs.atuin.sh/cli/configuration/config/?h=fuzzy+daem... while not managing to really get what would seem natural. Sigh.

Re: Atuin v18.13 – better search, a PTY proxy, and AI for your shell

#83
post #82

Earlier quoted context omitted.

The new "daemon-fuzzy" mode uses a new fuzzy matcher powered by Nucleo and might be what you're looking for

it seems indeed better in some ways, but the scoring is still way off, for example, for my second criteria: > - works on partial matches (e.g. inputting "ma in" matches ("make install", "cd main") typing "ma in" I would expect "make install" to come before "cd main" to come before (what's currently the very first hit) "cd Binaries/Multimedia". I'm now reading about https://docs.atuin.sh/cli/configuration/config/?h=fu…

I'd start with setting the combined frecency score to 0 and testing out how the raw fuzzy scoring does. Then if you find you're having trouble finding recent or frequent commands, you can adjust from there. If you can't find a configuration that feels good, please feel free let me know in an issue.

Re: Atuin v18.13 – better search, a PTY proxy, and AI for your shell

#84
post #47

The PTY proxy looks pretty neat! Excited to give that a try. Losing some of the scrollback was a minor nuisance that I kind of lived with until now.

I've always felt this fullscreen was too much for actual use. Eager to try it out.

Just for random passers by:

I was using: eval "$(atuin init zsh --disable-up-arrow)"

Now need to workaround: eval "$(atuin hex init | sed 's/atuin init zsh/atuin init zsh --disable-up-arrow/')"

Probably should create a issue in tracker to point out that this use-case is currently not supported :)

Re: Atuin v18.13 – better search, a PTY proxy, and AI for your shell

#85
post #6

Earlier quoted context omitted.

This part: > On top of that, we integrate a dataset powered by man pages and command outputs to ensure you get the correct command first. Also makes it sound like they're "providing that dataset", rather than generating that from the users computer. Wouldn't that mean it's potentially a mismatch between various versions of the software available? Not to mention some OSes will have a different version of some software…

There is no way is it not generated on user computer. "get the correct command first" and "shipping a [external] dataset" are incompatible.

It's feeding it to a remote endpoint:

https://github.com/atuinsh/atuin/blob/5f279584f4f6532871a74d...

Post reply on HN