<?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=OpenBSD_Shell_Tweaks</id>
		<title>OpenBSD Shell Tweaks - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=OpenBSD_Shell_Tweaks"/>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=OpenBSD_Shell_Tweaks&amp;action=history"/>
		<updated>2026-04-30T16:08:46Z</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=OpenBSD_Shell_Tweaks&amp;diff=3541&amp;oldid=prev</id>
		<title>Ledhed: Created page with &quot;'''INCOMPLETE'''    == Overview == A buddy of mine who is a FreeBSD fanatic got me using it and I fell in love with it's command line, specifically the command history complet...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=OpenBSD_Shell_Tweaks&amp;diff=3541&amp;oldid=prev"/>
				<updated>2022-01-24T11:01:24Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;INCOMPLETE&amp;#039;&amp;#039;&amp;#039;    == Overview == A buddy of mine who is a FreeBSD fanatic got me using it and I fell in love with it&amp;#039;s command line, specifically the command history complet...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''INCOMPLETE'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
A buddy of mine who is a FreeBSD fanatic got me using it and I fell in love with it's command line, specifically the command history completion. OpenBSD's default root shell is ksh and while it does tab completion and command history, it doesn't do command history completion. I also really like a colored command line interface for quickly identifying folders, links, and executables (ya this is a Linux carryover). This article will show how to add color and add command history completion to the Korn shell.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prompt ==&lt;br /&gt;
Add this to your .profile file:&lt;br /&gt;
 PS1='$USER:$PWD# '&lt;br /&gt;
 export PS1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== COLORLS ==&lt;br /&gt;
 pkg_add -r colorls&lt;br /&gt;
Add this to your .profile file:&lt;br /&gt;
 LSCOLORS=gxfxhxhxcxhxhxBxBxhxhx&lt;br /&gt;
 export LSCOLORS&lt;br /&gt;
 alias ls='colorls -G'&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
https://geoff.greer.fm/lscolors/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:OpenBSD]]&lt;/div&gt;</summary>
		<author><name>Ledhed</name></author>	</entry>

	</feed>