Live data from Hacker News

Atuin replaces your existing shell history with a SQLite database

github.com

151–160 of 198 posts

Re: Atuin replaces your existing shell history with a SQLite database

#151

Earlier quoted context omitted.

FTS is not the same as regex.

I don't think I said it was. I was addressing the specific use cases mentioned. If there's another use case you think is important in searching command line history, feel free to describe it.

> feel free to describe it

Didn't they already? eg stemming

Re: Atuin replaces your existing shell history with a SQLite database

#152

I made a script that uses atuin to get previous commands related to your current command line - latest commands ran in the same session, in the same directory, in other sessions, latest commands for the same executable etc. then feeds it into GPT and streams the replies to fzf so you can choose the best autocompletion (or it can fix problems in the line you've written already as well). On Wezterm and Kitty it can als…

Isn't that like... ultra slow?

Copilot is highly usable and I'm pretty sure it works the same way.

Re: Atuin replaces your existing shell history with a SQLite database

#154

Earlier quoted context omitted.

I don't think I said it was. I was addressing the specific use cases mentioned. If there's another use case you think is important in searching command line history, feel free to describe it.

> feel free to describe it Didn't they already? eg stemming

Most stemming use cases are trivially solved with a regex. That's the point he was making. The difference between a beginner and expert with regexes is quite a lot.

Re: Atuin replaces your existing shell history with a SQLite database

#155

How does this compare to McFly? https://github.com/cantino/mcfly

I see two major differences:

- how active the development is[1]

- having a distributed option (McFly does not have one)

1. Seeking co-maintainers: I don't have much time to maintain this project these days. If someone would like to jump in and become a co-maintainer, it would be appreciated!

Re: Atuin replaces your existing shell history with a SQLite database

#156
post #40

either I'm getting old, or there is a lot of energy being spent on quasi-useless "improvements" these days

> being spent on quasi-useless "improvements"

i am not a new kid on the block either but I was looking for such a tool for a very long time. I think distributed shell history across all of my servers is a big win.

Re: Atuin replaces your existing shell history with a SQLite database

#159
Since we're setting up a database, has anyone seen a project to store stdout/stderr in tables too?

Seems more useful in the GPT age, when it could provide an opportunity for conversations about the whole task you worked on. (As well as finding commands based on their output.)

Re: Atuin replaces your existing shell history with a SQLite database

#160

I have been using sqlite database since 2017 [1], has over 100,000 items in the database at this point. The database is almost 0.5GB, but I also use Full-Text-Search capabilities of sqlite. 2 years ago I have built a mac application [2], that syncs items via iCloud, and it only works on the macOS. I would highly recommend anyone who spend a lot of time in terminal to improve their shell history by using atuin or simi…

Wow so it looks like I'm in the minority in having shell command history disabled? I have a small number of commands (20) that go into the live history of login shells for convenience, but nothing gets saved when I log out.

If there's something I do repeatedly, I make an alias or a function for it.

Post reply on HN