<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://etcwiki.org/index.php?action=history&amp;feed=atom&amp;title=Bash_prompt_with_colors</id>
	<title>Bash prompt with colors - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://etcwiki.org/index.php?action=history&amp;feed=atom&amp;title=Bash_prompt_with_colors"/>
	<link rel="alternate" type="text/html" href="http://etcwiki.org/index.php?title=Bash_prompt_with_colors&amp;action=history"/>
	<updated>2026-05-31T10:52:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://etcwiki.org/index.php?title=Bash_prompt_with_colors&amp;diff=3366&amp;oldid=prev</id>
		<title>Ddxfish at 13:15, 5 April 2014</title>
		<link rel="alternate" type="text/html" href="http://etcwiki.org/index.php?title=Bash_prompt_with_colors&amp;diff=3366&amp;oldid=prev"/>
		<updated>2014-04-05T13:15:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category: Linux]]&lt;br /&gt;
PS1 is the variable name for your bash prompt layout and colors. By default, my Debian 7.4 install has no colors on the &lt;br /&gt;
command prompt and could use a little touching up to make it more fun to use.&lt;br /&gt;
 &lt;br /&gt;
[[File:Bash-ps1.png|bash prompt PS1]]&lt;br /&gt;
&lt;br /&gt;
Here is my PS1 bash prompt line for Debian (should work fine on all Linux).&lt;br /&gt;
&lt;br /&gt;
*Copy and paste this into the end of your ~/.bashrc file&lt;br /&gt;
 export PS1=&amp;quot;\[\e[31m\]\u\[\e[m\]\[\e[36m\]@\[\e[m\]\[\e[32m\]\h\[\e[m\] \[\e[35m\]\w\[\e[m\] \[\e[34m\]\\$\[\e[m\] &amp;quot;&lt;/div&gt;</summary>
		<author><name>Ddxfish</name></author>
	</entry>
</feed>