Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: zeugma
I like this one--I use it all the time:

GREEN='\[\033[32m\]'
RED='\[\033[31m\]'
NC='\[\033[37m\]'

PS1="\u@\w \`if [ \$? = 0 ]; then echo ${GREEN}:\\\)${NC}; else echo ${RED}:\\\(${NC}; fi\`"

29 posted on 10/28/2014 5:13:53 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 20 | View Replies ]


To: ShadowAce
I like this one--I use it all the time:

Interesting. However, for colorblind folks like myself, there is not enough contrast. I may play with some color combinations to see if I can use this in place of the smiley/frowny

39 posted on 10/28/2014 12:23:49 PM PDT by zeugma (The act of observing disturbs the observed.)
[ Post Reply | Private Reply | To 29 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson