Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

(yet another) (colorized) stupid prompt trick



http://smasher.org/zsh/zsh-prompt-cd-color.png
http://smasher.org/zsh/

as if there wasn't enough information already in my prompt...

zsh-prompt-cd-color.png : when changing directories show the $PWD in a brighter color. this supports 256 colors, if available, and should serve as an example of how to make other elements of the prompt support 256 colors but still fall-back to something safe.

why? so after i cd into a new directory i have a brighter than usual PWD so i can double check and make sure it's correct.


--
        ...atom

 ________________________
 http://atom.smasher.org/
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
 -------------------------------------------------

	"Military men are just dumb stupid animals
	 to be used as pawns in foreign policy."
		-- Henry Kissinger,
	Kiss the Boys Goodbye: How the United
	States Betrayed Its Own POWs in Vietnam




Messages sorted by: Reverse Date, Date, Thread, Author