<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[[实践OK]Mac 上 Oh My Zsh 无法更新，zsh自动完成的提示位置在/usr/local/share/zsh/site-functions。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Thu, 24 Jun 2021 01:45:49 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	zsh completions and functions have been installed to:<br/>&nbsp;&nbsp;/usr/local/share/zsh/site-functions<br/><br/><br/>mac下面sudo su - 后出现：<br/> sudo su<br/>Password:<br/>[Oh My Zsh] Would you like to update? [Y/n]: y<br/>Updating Oh My Zsh<br/>error: 不能变基式拉取：您有未暂存的变更。<br/>error: 请提交或贮藏它们。<br/>There was an error updating. Try again later?<br/><br/>最后我的解决办法是：<br/>cd&nbsp;&nbsp;~/.oh-my-zsh/<br/><br/>git status<br/>位于分支 master<br/>您的分支与上游分支 &#039;origin/master&#039; 一致。<br/><br/>尚未暂存以备提交的变更：<br/>&nbsp;&nbsp;（使用 &quot;git add &lt;文件&gt;...&quot; 更新要提交的内容）<br/>&nbsp;&nbsp;（使用 &quot;git restore &lt;文件&gt;...&quot; 丢弃工作区的改动）<br/>&nbsp;&nbsp;类型变更： plugins/fedora/fedora.plugin.zsh<br/>&nbsp;&nbsp;类型变更： plugins/go/go.plugin.zsh<br/>&nbsp;&nbsp;类型变更： plugins/gradle/_gradle<br/>&nbsp;&nbsp;类型变更： plugins/gradle/_gradlew<br/>&nbsp;&nbsp;类型变更： plugins/per-directory-history/per-directory-history.plugin.zsh<br/><br/>git reset --hard origin/master #强制让本地的代码和远端一致<br/>HEAD 现在位于 08da19e3 emacs: revert cab1ac6e682038b2ceca9d16f8c458c0e79149ca (#7765)<br/><br/>git status<br/>位于分支 master<br/>您的分支与上游分支 &#039;origin/master&#039; 一致。<br/><br/>git pull<br/>remote: Enumerating objects: 9644, done.<br/><br/>root@bogon# upgrade_oh_my_zsh<br/>Note: `upgrade_oh_my_zsh` is deprecated. Use `omz update` instead.<br/>Updating Oh My Zsh<br/>From https://github.com/ohmyzsh/ohmyzsh<br/> * branch&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;master&nbsp;&nbsp;&nbsp;&nbsp; -&gt; FETCH_HEAD<br/>Current branch master is up to date.<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __<br/>&nbsp;&nbsp;____&nbsp;&nbsp;/ /_&nbsp;&nbsp;&nbsp;&nbsp; ____ ___&nbsp;&nbsp;__&nbsp;&nbsp;__&nbsp;&nbsp; ____&nbsp;&nbsp;_____/ /_<br/> / __ &#92;/ __ &#92;&nbsp;&nbsp; / __ `__ &#92;/ / / /&nbsp;&nbsp;/_&nbsp;&nbsp;/ / ___/ __ &#92;<br/>/ /_/ / / / /&nbsp;&nbsp;/ / / / / / /_/ /&nbsp;&nbsp;&nbsp;&nbsp;/ /_(__&nbsp;&nbsp;) / / /<br/>&#92;____/_/ /_/&nbsp;&nbsp;/_/ /_/ /_/&#92;__, /&nbsp;&nbsp;&nbsp;&nbsp;/___/____/_/ /_/<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/____/<br/><br/>Oh My Zsh is already at the latest version.<br/>To keep up with the latest news and updates, follow us on Twitter: https://twitter.com/ohmyzsh<br/>Want to get involved in the community? Join our Discord: https://discord.gg/ohmyzsh<br/>Get your Oh My Zsh swag at: https://shop.planetargon.com/collections/oh-my-zsh<br/><br/><br/>参考：https://www.chendalei.com/articles/2018/10/09/1539052284615.html<br/>提示：<br/><br/>Updating Oh My Zsh<br/>error: cannot pull with rebase: You have unstaged changes.<br/>error: please commit or stash them.<br/>There was an error updating. Try again later?<br/><br/>这种情况很可能发生，因为您已经在.oh-my-zsh目录中编辑了一些内容但尚未提交。<br/><br/>导航到该目录（.oh-my-zsh/目录）。<br/>运行git status。 它应该显示已更改的文件列表。<br/>使用git add暂存这些文件<br/>使用git commit -m提交这些更改<br/>你现在应该可以升级了。<br/><br/>可选：在步骤2之后，您可以运行git commit -a -m，它应该暂存所有未暂存的文件并提交这些更改（组合步骤3和4）。<br/>然后通过upgrade_oh_my_zsh命令升级zsh。<br/><br/>参考来源：https://github.com/robbyrussell/oh-my-zsh/issues/1984<br/>
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]Mac 上 Oh My Zsh 无法更新，zsh自动完成的提示位置在/usr/local/share/zsh/site-functions。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>