Bringing down my ZSH load times from ~3.1s to ~230ms 0 ▲ Mohnish Thallavajhula 160 days ago · Tech · hide · Fediverse post This year, the amount of time I spend in the terminal has gone significantly up thanks to Claude Code. Couple of things: I have this insane tendency to close tabs as soon as I’m done with them Over the year, my work computer ZSH dotfiles have gotten extremely bloated I got to a point where I couldn’t tolerate how slow opening a new shell session got. Naturally, I decided to fix it. First, I needed to truly understand how slow my zsh was. I ran time to get the exact load time of my zsh. time zsh -il -c exit -i: interactive mode; needed to understand prompts, completions, aliases, etc.-l: login mode; needed to load /etc/zprofile and ~/.zprofile, etc.) in addition to .zshrc (I only use .zshrc and a ~/shell_overrides.sh file to load computer specific config)-c exit: run the exit command immediately and quit These give you a true load time. The result didn’t come as a surprise. 3.1 seconds load time. It’s a ridiculously high number. No wonder I hated opening a new terminal session so much.… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town