Speeding up my zsh prompt: Part 2

In the previous post I profiled my zsh load to debug the monumental shell load time which is really annoying for me, since I spend all my time in the shell. I think I’m gonna get rid of compinit totally and look at the profiling data. Let’s dive in # autoload -Uz compinit # if [[ -n ${HOME}/.zcompdump(#qN.mh+24) ]]; then # compinit; # else # compinit -C; # fi; Launching the profiler now, the results are- ...

September 26, 2022 · 2 min · Navdeep Saini

Speeding up my zsh prompt - part 1

I’m a big fan of the z shell. I use it with the spaceship prompt and zplug for plugin management. Right now, it takes an uncomfortable amount of time to load up the prompt on terminal emulator launch, which is annoying for me since I like everything to be snappy, at least on the command line. Overview of my zshrc It’s pretty basic, boasts of a zplug installation for plugin management and some attendant plugins. ...

September 19, 2022 · 6 min · Navdeep Saini