<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Zsh on Tech Philosopher</title><link>https://blog.bktus.com/en/tags/zsh/</link><description>Recent content in Zsh on Tech Philosopher</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 25 May 2021 17:49:23 +0800</lastBuildDate><atom:link href="https://blog.bktus.com/en/tags/zsh/index.xml" rel="self" type="application/rss+xml"/><item><title>Solve the problem of oh-my-zsh plugin 'zsh-autosuggestions' not found and plugin 'zsh-syntax-highlighting' not found</title><link>https://blog.bktus.com/en/archives/qvsol9/</link><pubDate>Tue, 25 May 2021 17:49:23 +0800</pubDate><guid>https://blog.bktus.com/en/archives/qvsol9/</guid><description>&lt;p>When we install the zsh plugins zsh-autosuggestions or zsh-syntax-highlighting, we usually run into the oh-my-zsh error “plugin &amp;lsquo;xxx&amp;rsquo; not found”. So let&amp;rsquo;s look at why oh-my-zsh reports “plugin &amp;lsquo;zsh-autosuggestions&amp;rsquo; not found” and “plugin &amp;lsquo;zsh-syntax-highlighting&amp;rsquo; not found”, and how to fix it. The cause is that the plugin&amp;rsquo;s code repository was never cloned to your local machine, so the plugin you want isn&amp;rsquo;t actually installed. The fix is really simple. Just run the following commands:&lt;/p></description><content:encoded><![CDATA[<p>When we install the zsh plugins zsh-autosuggestions or zsh-syntax-highlighting, we usually run into the oh-my-zsh error “plugin &lsquo;xxx&rsquo; not found”. So let&rsquo;s look at why oh-my-zsh reports “plugin &lsquo;zsh-autosuggestions&rsquo; not found” and “plugin &lsquo;zsh-syntax-highlighting&rsquo; not found”, and how to fix it. The cause is that the plugin&rsquo;s code repository was never cloned to your local machine, so the plugin you want isn&rsquo;t actually installed. The fix is really simple. Just run the following commands:</p>
<pre tabindex="0"><code>$ git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
$ source ~/.zshrc
</code></pre><p>Then reopen your shell and you&rsquo;ll see the problem is gone. You can use the same method to fix this kind of problem with other plugins too.</p>
]]></content:encoded></item></channel></rss>