- Lazy-load nvm (biggest startup cost, ~200-500ms). Only initialize on first
nvm/node/npmcall - Lazy-load conda hook (~200-400ms)
- Run
dfonce instead of twice for free space (currently-kand-hseparately)
- Extract shared code between bashrc and zshrc into a common
shrc_commonfile. ~90% of both files is identical, every change has to be made twice (and twice the bugs)
whichusage in several places could becommand -v(builtin, faster)
- Could skip
ssh-addcalls when no agent is reachable (checkssh-add -lexit code first)