4 ms·
I was just thinking the other day I’d also really like that for my terminal history, especially since I’ve often worked at “bring your own device” sized compani
by ryanschneider 3y ago
I was just thinking the other day I’d also really like that for my terminal history, especially since I’ve often worked at “bring your own device” sized companies.
- EscapeFromNY 3y agoYou might be interested in https://github.com/ellie/atuin https://github.com/ellie/atuin > Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands.
- joshSzep 3y agoAtuin is outstanding. I've barely scratched the surface of its features, but it's already made a significant impact on my command line usage.
- mmgutz 3y agoThis is why I read HN comments. Some hidden gem always surfaces. Never seen this mentioned on any CLI awesome lists.
- IshKebab 3y agoThere's also McFly which is similar. I have yet to try Atuin so I can't say which is better.
- dllthomas 3y agoI've been doing that for a decade+ now and it's marvelous. I key everything off a shell variable called SESSION, and have a few scripts to set that before spinning up a screen/tmux instance if I don't already have one running for the context in question. There's a somewhat dated snapshot of some of my config files (relevant and otherwise) at https://github.com/dlthomas/config-files https://github.com/dlthomas/config-files