4 ms·
I also had a rather noticeable delay when launching atuin. As it turns out, this was because it checked for an update every time it launched! You can disable th
by psYchotic 4y ago
I also had a rather noticeable delay when launching atuin. As it turns out, this was because it checked for an update every time it launched! You can disable that update check: add a ` update_check = false` to your `~/.config/atuin/config.toml` [1]. That made the delay pretty much disappear for me.
[1]: https://atuin.sh/docs/config/#update_check https://atuin.sh/docs/config/#update_check
- MayeulC 4y agoWhat? I don't expect any tool to interact with the network if it's not made specifically for this (curl, netcat, etc). This would betray my expectations, I find it unacceptable.
- conradludgate 4y agoIt's one of our key features > backup and sync encrypted shell history But it's up to you. You can disable any sync features by installing with `--no-default-features --features client` set. Your application won't have any networking features built into the binary then
- conradludgate 4y agoWe actually fixed the delay issue, but since you disabled update checking you wouldn't have known to update! It was quite annoying so we're sorry for that
- pmarreck 4y agoHow would you compare this to, say, McFly? https://github.com/cantino/mcfly https://github.com/cantino/mcfly
- conradludgate 4y agoNot too different. * We use heuristic based searches whereas mcfly trains a neural network * We offer a sync functionality to share history on multiple machines mcfly is a great project, although they are looking for new maintainers apparently!
- reddit_clone 4y agoIntrigued by local-directory-first feature of McFly (It brings up commands you previously executed in that folder first). I tried it for a bit. But there was noticeable lag compared to FZF and also the UI was a bit shaky. Went back to FZF (in Zsh). I have a seven year zsh history. That may be a contributing factor for the issues ?
- psYchotic 4y agoOh, it's nice you fixed it, thanks! And don't worry, I updated atuin, as it's in my distro's repository (which is why I wasn't worried about disabling the update check).
- jyxent 4y agoI noticed that before and am glad to see it fixed. My current issue is that typing to search is noticeably slow on a 150,000 entry history, especially for the first few characters. fzf is instant for me.
- ellieh 4y agoYeah we accidentally had this blocking :/ It does only check once an hour though, and can totally be disabled! We introduced this as we found a lot of people reporting bugs that had already been fixed + they just needed to update, or users on the sync server that were >1yr behind on updates (making improvements really difficult to introduce).