Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
(yet another) (colorized) stupid prompt trick
- X-seq: zsh-users 12162
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: (yet another) (colorized) stupid prompt trick
- Date: Thu, 1 Nov 2007 23:31:31 +1300 (NZDT)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
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