<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.ledhed.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Up_Arrow_Tab_Completion</id>
		<title>Up Arrow Tab Completion - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=Up_Arrow_Tab_Completion"/>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Up_Arrow_Tab_Completion&amp;action=history"/>
		<updated>2026-04-08T17:57:49Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>//wiki.ledhed.net/index.php?title=Up_Arrow_Tab_Completion&amp;diff=2686&amp;oldid=prev</id>
		<title>Ledhed: Created page with 'One of my favorite features of FreeBSD/CShell is that you can start typing a command and use the up/down arrows to cycle through previous commands which contain the characters yo...'</title>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=Up_Arrow_Tab_Completion&amp;diff=2686&amp;oldid=prev"/>
				<updated>2012-10-05T17:26:20Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;One of my favorite features of FreeBSD/CShell is that you can start typing a command and use the up/down arrows to cycle through previous commands which contain the characters yo...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;One of my favorite features of FreeBSD/CShell is that you can start typing a command and use the up/down arrows to cycle through previous commands which contain the characters you've already typed.&lt;br /&gt;
Well as it turns out you can do the same thing with Bash.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Edit ~/.inputrc and add the following lines:&lt;br /&gt;
 &amp;quot;\e[A&amp;quot;: history-search-backward&lt;br /&gt;
 &amp;quot;\e[B&amp;quot;: history-search-forward&lt;br /&gt;
&lt;br /&gt;
Or leave the the arrow keys alone and bind them to the PgUp/PgDn keys.&lt;br /&gt;
 &amp;quot;\e[5~&amp;quot;: history-search-backward&lt;br /&gt;
 &amp;quot;\e[6~&amp;quot;: history-search-forward&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
http://stackoverflow.com/questions/1030182/how-do-i-change-bash-history-completion-to-complete-whats-already-on-the-line&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>Ledhed</name></author>	</entry>

	</feed>