<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Terminal on Bharath Kumar Ravichandran</title><link>https://bharathravichandran.com/blog/tags/terminal/</link><description>Recent content in Terminal on Bharath Kumar Ravichandran</description><generator>Hugo</generator><language>en-US</language><copyright>Bharath Kumar Ravichandran</copyright><lastBuildDate>Thu, 17 Sep 2026 23:46:19 -0700</lastBuildDate><atom:link href="https://bharathravichandran.com/blog/tags/terminal/index.xml" rel="self" type="application/rss+xml"/><item><title>Down the dotfiles rabbit hole</title><link>https://bharathravichandran.com/blog/posts/down-the-dotfiles-rabbit-hole/</link><pubDate>Thu, 17 Sep 2026 23:46:19 -0700</pubDate><guid>https://bharathravichandran.com/blog/posts/down-the-dotfiles-rabbit-hole/</guid><description>&lt;p&gt;I started looking at my dotfiles again because a new &lt;code&gt;Zsh&lt;/code&gt; shell took 1.508 seconds to load. I open new shells often enough that the delay was noticeable.&lt;/p&gt;&#10;&lt;p&gt;I used Claude Code with Opus 5 and Sonnet 5, and Codex with GPT 5.6 Sol to profile the startup time and refactor most of the repository. I did my part by drinking coffee and opening too many terminal tabs xD.&lt;/p&gt;&#10;&lt;h2 id="what-was-slowing-down-zsh"&gt;What was slowing down Zsh&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;Zsh&lt;/code&gt; completion uses &lt;code&gt;compinit&lt;/code&gt; to scan the functions in &lt;code&gt;$fpath&lt;/code&gt; and build a completion dump. A full scan is useful when completions have changed, but it does not need to happen every time a shell starts.&lt;/p&gt;</description></item></channel></rss>