Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The article briefly mentions atuin at the end. I've tried atuin but found it a little bit too heavyweight for me - instead I use zsh-histdb[0] (together with the fzf extension for it[1]) which allows you to easily answer this type of question - can highly recommend it.

0. https://github.com/larkery/zsh-histdb

1. https://github.com/m42e/zsh-histdb-fzf



I tried atuin as well and switched back to my fzf setup. I setup my history to ignore duplicates. Makes it also easier to use the up arrow key. But that can have downsides depending on the user. For me it works great for years. The only reason I don‘t share the history along with other dotfiles is the problem that some commands read API keys and token from the options. And I don‘t yet have a system for that so that. Because other means like env variables can make the it harder to repeat said command month later.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: