1<title>Fossilized Bash Prompt</title> 2<h1>2013-02-21</h1> 3 4Dan Kennedy has contributed a 5[./fossil_prompt.sh?mimetype=text/plain | bash script] 6that manipulates the bash prompt to show the status of 7the Fossil repository that the user is currently visiting. 8The prompt shows the branch, version, and time stamp for the 9current checkout, and the prompt changes colors from blue to 10red when there are uncommitted changes. 11 12To try out this script, simply download it from the link above, then 13type: 14 15<blockquote><pre> 16. fossil_prompt.sh 17</pre></blockquote> 18 19For a permanent installation, you can graft the code into your 20<tt>.bashrc</tt> file in your home directory. 21 22The code is very simple (only 32 non-comment lines, as of this writing) 23and hence easy to customized. 24