PDA

View Full Version : Post your PS1



28c64
November 4th, 2012, 08:56 PM
What are some cool PS1 prompts you've created?


Mine probably could be simplified through a few things, but I'm no expert..



export PS1="┌──╼ [ \h\[ ][ \w ]\n└──────────╼ "
export PS2="└──────────╼ "

doorknob60
November 5th, 2012, 01:55 AM
http://4.bp.blogspot.com/-TM1U7nCPu9A/T81orCfvGiI/AAAAAAAACNY/sNwyHskvD6Q/s1600/PS1+PS+VITA.jpg

...oh, you mean that PS1, fine. This is zsh, I don't think bash works with these fancy codes, but maybe it does:

%K{blue}%n@%m%k %B%F{cyan}%(4~|...|)%3~%F{white} %# %b%f%k

Erik1984
November 5th, 2012, 10:43 AM
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$

samalex
November 5th, 2012, 07:09 PM
Here's what I thought of:

http://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/IBMPS1.jpg/285px-IBMPS1.jpg

My PS1 is stock though.