Live data from Hacker News

Speeding up my ZSH shell

scottspence.com

131–133 of 133 posts

Re: Speeding up my ZSH shell

#131

Earlier quoted context omitted.

Once you have everything figured out, you just keep using the config you have. It might be worth the investment. I stopped using oh-my-zsh when I realized it was what was causing multi-second delays on Raspberry Pis. I think auto suggestions and syntax highlighting plugins can be installed separately from oh-my-zsh. I use starship for a better prompt, and it works on more shells than just Zsh. I also have Atuin insta…

With atuin, do you face a delay when you first load after startup? It's so annoying. It takes a solid 30-minute lag before the history is loaded. I am running my home on hdd, not ssd. But still do not see justification of this lag.

I self-host an atuin server, and even between machines I don't see anything like that.

I configured daemon mode to workaround an ZFS+sqlite issue. I also have my sync_frequency set to 5m (default is 1h) in the config. Perhaps those are making my experience smoother.

Re: Speeding up my ZSH shell

#132

With articles like these popping up all the time, oh-my-zsh is seriously harming zsh's reputation. It's giving the wrong impression of zsh being slow and bloated. zsh doesn't need configuration frameworks or plugins. All it needs is a change in the default settings so that its powerful completion works out the box. It currently needs more than ideal amount of tweaks to the defaults, which is probably why people flock…

I don't want to spend ages figuring out which knobs to turn to get a half decent shell. If there's an alternative to oh-my-zsh that looks halfway decent, has that nice fzf integrated, and the 'ghost text' history suggestions, then I welcome it!

Have a look at Prezto, it is much simpler and faster than oh My ZSH.

Re: Speeding up my ZSH shell

#133

Earlier quoted context omitted.

With atuin, do you face a delay when you first load after startup? It's so annoying. It takes a solid 30-minute lag before the history is loaded. I am running my home on hdd, not ssd. But still do not see justification of this lag.

I self-host an atuin server, and even between machines I don't see anything like that. I configured daemon mode to workaround an ZFS+sqlite issue. I also have my sync_frequency set to 5m (default is 1h) in the config. Perhaps those are making my experience smoother.

I am using ext4 though. Turned on daemon, let's see if it solves my issue

Thank you

Post reply on HN