danielmoch.com

Static site for www.danielmoch.com
git clone git://git.danielmoch.com/danielmoch.com.git
Log | Files | Refs | LICENSE

commit a2c17eccc33046a293ae374256767e482eefce12
parent 8b09058884166bb08cedb7176bee4fc2e89a3e0a
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Mon,  6 Dec 2021 14:29:52 -0500

Fix formatting in zsh-compinit-rtfm.md

Diffstat:
Msrc/posts/2018/11/zsh-compinit-rtfm.md | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/posts/2018/11/zsh-compinit-rtfm.md b/src/posts/2018/11/zsh-compinit-rtfm.md @@ -13,8 +13,8 @@ the thought of having to wait a few seconds for my terminal emulator to display a prompt feels like a personal affront. My system wasn't just behaving badly, it was challenging me by way of insult. -Accepting the challenge laid before me, I took to `my favorite search -engine`_ to see what tools were available to help me understand what +Accepting the challenge laid before me, I took to [my favorite search +engine](https://duckduckgo.com) to see what tools were available to help me understand what was suddenly performing so poorly. Oh, okay. [This post](https://xebia.com/blog/profiling-zsh-shell-scripts/) says that Zsh includes a script profiler. All I need to do is turn it on in my @@ -77,7 +77,7 @@ little further. Aha! So by implication one needs to be careful how they go about initializing the completion system. If you do something stupid like, say, eval a completion script (effectively initializing the completion -system) before you update your ``fpath``[^fp]_ and otherwise run +system) before you update your fpath[^fp] and otherwise run ``compinit``, then the number of completion files Zsh sees will differ by one between when you eval the completion script and when you later call ``compinit``, meaning you'll fully run ``compdump`` every time you