PDA

View Full Version : Post your Shell Prompt



klange
August 8th, 2008, 06:38 PM
Alright, there was a topic for this a while ago, but I can't find it after a ~10 minutes of searching with various different terms, so, here goes another "Post your Shell Prompt"!

Simply post your shell prompt, with any formatting you use, as well as the PS1= line for your shell's rc file.

Here's mine:

[klange acerlaptop 08/08 1:23] ~$

PS1="[\[\033[1;33m\]\u \[\033[1;32m\]\h \[\033[1;31m\]\$(date +%m/%d) \[\033[1;34m\]\$(date +%l:%M)\[\033[0m\]] \w$ "

I use this on all of my machines for uniformity.

LaRoza
August 8th, 2008, 06:39 PM
\e[01;31m\w\$\e[00m

~$ On a black background.