[Nottingham] bash prompt

Robert Hart enxrah at nottingham.ac.uk
Thu Jun 10 15:35:01 BST 2004


On Thu, 2004-06-10 at 14:19, Martin Garton wrote:

> export PS1="$PS1 \`if [ \$? = 0 ]; then echo \:\); else echo \:\(; fi\`"

If you have a unicode terminal you could use ☻ & ☺ instead.
(U+2639 and U+263B)

Rob



This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.




More information about the Nottingham mailing list