<?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>cursor &#8211; Luxing Huang</title>
	<atom:link href="https://luxing.im/tag/cursor/feed/" rel="self" type="application/rss+xml" />
	<link>https://luxing.im</link>
	<description>Thoughs and things</description>
	<lastBuildDate>Fri, 22 Jan 2016 18:16:17 +0000</lastBuildDate>
	<language>en-CA</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
<site xmlns="com-wordpress:feed-additions:1">58771605</site>	<item>
		<title>Solve zsh cursor positioned at the beginning in zsh history lookup using arrow key for Ubuntu</title>
		<link>https://luxing.im/solve-zsh-cursor-positioned-at-the-beginning-in-zsh-history-lookup-using-arrow-key-for-ubuntu/</link>
					<comments>https://luxing.im/solve-zsh-cursor-positioned-at-the-beginning-in-zsh-history-lookup-using-arrow-key-for-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[Luxing Huang]]></dc:creator>
		<pubDate>Wed, 13 Jan 2016 19:31:21 +0000</pubDate>
				<category><![CDATA[Techie Stuff]]></category>
		<category><![CDATA[cursor]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[zsh]]></category>
		<guid isPermaLink="false">https://luxing.im/?p=578</guid>

					<description><![CDATA[Zsh under Ubuntu has a strange behaviour. When you have typed some commands and use up arrow key to look back, the cursor is always at the beginning of the line. This can be solved very easily. Since Ubuntu inherits package from Debian, this bug is from Debian also. Edit your global zshrc file in &#8230; <p class="link-more"><a href="https://luxing.im/solve-zsh-cursor-positioned-at-the-beginning-in-zsh-history-lookup-using-arrow-key-for-ubuntu/" class="more-link">Continue reading<span class="screen-reader-text"> "Solve zsh cursor positioned at the beginning in zsh history lookup using arrow key for Ubuntu"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>Zsh under Ubuntu has a strange behaviour. When you have typed some commands and use up arrow key to look back, the cursor is always at the beginning of the line. This can be solved very easily.<br />
<span id="more-578"></span></p>
<p>Since Ubuntu inherits package from Debian, this bug is from Debian also. Edit your global zshrc file in Ubuntu here: <code>/etc/zsh/zshrc</code></p>
<p>Remove everything between <code>#ncurses fogyatekos</code> and <code>fi</code>. Save.</p>
<p>Log out and log back in, when you press the up arrow key to do history lookup, the cursor will be placed at the end of line.</p>
<p>Other Linux distribution and Unix operating systems do not have this problem.</p>
<p>If you are using oh-my-zsh, please disable vi-mode.</p>
<p>Reference: <a href="http://www.zsh.org/mla/users/2012/msg00071.html" target="_blank">http://www.zsh.org/mla/users/2012/msg00071.html</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://luxing.im/solve-zsh-cursor-positioned-at-the-beginning-in-zsh-history-lookup-using-arrow-key-for-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">578</post-id>	</item>
	</channel>
</rss>
