<?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>Shell on TripleZ&#39;s Blog</title>
    <link>https://blog.triplez.cn/tags/shell/</link>
    <description>Recent content in Shell on TripleZ&#39;s Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-cn</language>
    <lastBuildDate>Tue, 08 Oct 2019 00:00:00 +0800</lastBuildDate><atom:link href="https://blog.triplez.cn/tags/shell/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Update Oh My Zsh Manually</title>
      <link>https://blog.triplez.cn/posts/update-oh-my-zsh-manually/</link>
      <pubDate>Tue, 08 Oct 2019 00:00:00 +0800</pubDate>
      
      <guid>https://blog.triplez.cn/posts/update-oh-my-zsh-manually/</guid>
      <description></description>
      <content:encoded><![CDATA[<p>If you always ignore <code>oh-my-zsh</code> update tips like me, you can update <code>oh-my-zsh</code> configuration by following command:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt" id="hl-0-1"><a style="outline: none; text-decoration:none; color:inherit" href="#hl-0-1">1</a>
</span><span class="lnt" id="hl-0-2"><a style="outline: none; text-decoration:none; color:inherit" href="#hl-0-2">2</a>
</span><span class="lnt" id="hl-0-3"><a style="outline: none; text-decoration:none; color:inherit" href="#hl-0-3">3</a>
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">$ omz update
</span></span><span class="line"><span class="cl"><span class="c1"># for older versions</span>
</span></span><span class="line"><span class="cl">$ upgrade_oh_my_zsh
</span></span></code></pre></td></tr></table>
</div>
</div><p>After all, <code>oh-my-zsh</code> has added a shell function to the shell environment, we can look it under the hood by running this command:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt" id="hl-1-1"><a style="outline: none; text-decoration:none; color:inherit" href="#hl-1-1">1</a>
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">$ which upgrade_oh_my_zsh
</span></span></code></pre></td></tr></table>
</div>
</div><p>and the output is:</p>
<figure class="align-center ">
    <img loading="lazy" src="https://triplez-public-1251926021.cos.ap-shanghai.myqcloud.com/picgo/Screenshot_20191008_234239.png#center"/> 
</figure>

<p>This is very clear and simple, the upgrade program is a shell script, located at <code>$ZSH/tools/upgrade.sh</code> .</p>]]></content:encoded>
    </item>
    
  </channel>
</rss>
