Bringing down my ZSH load times from ~3.1s to ~230ms
6 hours ago
- #terminal productivity
- #zsh optimization
- #shell profiling
- Profiled ZSH load times to identify slow startup, initially taking 3.1 seconds.
- Identified conda and nvm as major slowdowns, replacing nvm with fnm and lazy loading conda.
- Fixed fpath duplication issues with typeset -U fpath, preventing unnecessary compinit cache rebuilds.
- Improved terminal session startup to ~230ms and enhanced console prompt with directory focus, error codes, and execution timer.