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

To: ShadowAce

Modern day hipsters “discovering” something that DOS users did 30 years ago. LOL


3 posted on 03/03/2015 5:28:39 AM PST by Bryanw92 (Sic semper tyrannis)
[ Post Reply | Private Reply | To 1 | View Replies ]


To: Bryanw92
Modern day hipsters “discovering” something that DOS users did 30 years ago. LOL

You can set return codes in DOS?

I use a variant similar to what shadowace posted...
VM:~/CHANGES :) echo $PS1
VM:\w `if [ $? = 0 ]; then echo :\\); else echo :\\(; fi`
VM:~/CHANGES :)

9 posted on 03/03/2015 12:52:44 PM PST by zeugma (The act of observing disturbs the observed.)
[ Post Reply | Private Reply | To 3 | 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