http://bashrcgenerator.com/ * >_ .bashrc PS1 generator Generate your .bashrc/PS1 bash prompt easily with a drag and drop interface * Tweet Examples and presets of PS1 prompts Clicking on an example will replace your selection. 1Available elements Drag and drop to your selection. 2Your selection Double-click to change the color and boldness. Drag an element outside to remove it. remove everything 3Preview of your prompt This is how your prompt will look like. 4Your generated .bashrc PS1 and additional functions Do you need help for setting up your prompt? read the documentation below! Help To use this for your prompt, it's easy: Type this in your prompt : nano ~/.bashrc Then copy the generated code at the end of the file. Save and exit (in nano, it's CTRL + o, CTRL + x). To see the changes, either: * paste the generated code in your prompt like an usual command * logout and login again * type "bash" to run a new bash session References for PS1, bash, .bashrc, etc * Prompt Magic (IBM.com) * Show the current Git, Mercurial, Subversion or Bazaar branch in your prompt (Graham Poulter) * bash reference manual (gnu.org) * PS1 line with git current branch and colors (stackoverflow.com) * And thank you to Sasha Iaroslavtsev and Mathias Ciliberto for reporting bugs and their solutions :). Thank you to Andreas Steinel too. And thank you Lucas Prazynski :) PS1 .bashrc generator, a week-end hack from Julien Ricard