Re:Better Shell History Search
by sshine on Wednesday March 26, 2025 @03:32AM
(#43479716)
I'm also in this boat. I have atuin as part of my zsh config that is distributed to all new machines, whether they run NixOS or some other operating system with Nix on them (e.g. MacOS). After switching to NixOS I found an interest in maintaining a custom setup again, since it wouldn't fall apart every time I moved machine.
[ Parent
| on HN ]
Did you really need to share 108 lines of code, inline, rather than a link to gist/similar?
The chances of people reading this discussion running NixOS are small, and of those I'm sure the ones who were interested could search the internet for examples.
NixOS and Kagi user here. Hacker News often is the most reliable search result there is. Gists aren’t (they become easily deleted, unlike HN comments).
Sure, and I accept that happily enough for "small" snippets. But I had to page down multiple times and it really felt like too much content.
I could have cut down the sample a lot, I apologize.
Re:Better Shell History Search
by colordrops on Wednesday March 26, 2025 @03:17PM
(#43485874)
Or if using home manager:
programs.atuin = {
enable = true;
enableZshIntegration = true;
};