<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>osx &#8211; 扫地老僧的Blog</title>
	<atom:link href="https://doyj.com/tag/osx/feed/" rel="self" type="application/rss+xml" />
	<link>https://doyj.com</link>
	<description>Laputa - 远方地平线，闪耀着光芒</description>
	<lastBuildDate>Thu, 06 Dec 2012 14:24:13 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>osx下最好用的16进制编辑器 &#8211; vim</title>
		<link>https://doyj.com/2012/12/06/</link>
					<comments>https://doyj.com/2012/12/06/#respond</comments>
		
		<dc:creator><![CDATA[oldmonk]]></dc:creator>
		<pubDate>Thu, 06 Dec 2012 14:24:13 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[vim]]></category>
		<guid isPermaLink="false">http://www.doyj.com/?p=1855</guid>

					<description><![CDATA[用vim打开要编辑的文件 执行命令 :% ! xxd 编辑 编辑完毕，执行命令 :% ! xxd -r 保存  &#8230; <a href="https://doyj.com/2012/12/06/" class="more-link">继续阅读<span class="screen-reader-text">osx下最好用的16进制编辑器 ... ]]></description>
										<content:encoded><![CDATA[<ol>
<li>用vim打开要编辑的文件</li>
<li>执行命令<br />
:% ! xxd</li>
<li>编辑</li>
<li>编辑完毕，执行命令<br />
:% ! xxd -r</li>
<li>保存</li>
</ol>
<p>翻译自 <a href="http://stackoverflow.com/questions/827326/whats-a-good-hex-editor-viewer-for-the-mac">http://stackoverflow.com/questions/827326/whats-a-good-hex-editor-viewer-for-the-mac</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://doyj.com/2012/12/06/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>让OSX下的ls命令带上颜色</title>
		<link>https://doyj.com/2012/09/09/</link>
					<comments>https://doyj.com/2012/09/09/#comments</comments>
		
		<dc:creator><![CDATA[oldmonk]]></dc:creator>
		<pubDate>Sat, 08 Sep 2012 23:53:29 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<guid isPermaLink="false">http://www.doyj.com/?p=1833</guid>

					<description><![CDATA[linux下ls命令经过配置后，目录和文件是分颜色显示的，很好区分。 而osx终端窗口中默认情况下目录和文件不 &#8230; <a href="https://doyj.com/2012/09/09/" class="more-link">继续阅读<span class="screen-reader-text">... ]]></description>
										<content:encoded><![CDATA[<p>linux下ls命令<a href="http://www.doyj.com/2010/02/07/%E8%AE%A9securecrt%E7%99%BB%E5%BD%95debian%E6%97%B6%E6%98%BE%E7%A4%BA%E5%BD%A9%E8%89%B2/">经过配置</a>后，目录和文件是分颜色显示的，很好区分。 而osx终端窗口中默认情况下目录和文件不区分，不是太方便。 解决方法其实很简单：</p>
<ol>
<li>ls后加上-F参数，这样在ls列出的目录后面会加上&#8217;/&#8217;反斜杠，以和普通文件区分。</li>
<li>ls后加上-G参数， 目录和文件会分颜色显示。<br />
但这每次都要加不方便，可以在~/.bash_profile 中添加如下内容<br />
<code>alias ls='ls -FG'<br />
</code></li>
<li>在~/.bash_profile 中添加如下内容<br />
<code>export CLICOLOR=1<br />
export LSCOLORS=GxFxCxDxBxegedabagaced</code></li>
</ol>
<div></div>
<div><span style="font-family: monospace;"><br />
</span></div>
]]></content:encoded>
					
					<wfw:commentRss>https://doyj.com/2012/09/09/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
