tcsh, colorful prompt
Thanos Tsouanas
thanos at sians.org
Fri Jan 7 03:28:12 PST 2005
On Fri, Jan 07, 2005 at 04:06:59AM +0100, Mario Hoerich wrote:
> # Thanos Tsouanas:
> > I dont really care for the color of the prompt, but I would like
> > to see what i type (input) with a specific color.
> [...]
> > In short, i would like the color to end upon \n...
>
> I think you can do this with
>
> alias postcmd 'echo "<ESC>[0m"'
>
> For the <ESC> character, press ctrl-v and then esc
> (which inserts a ^[-character as literal).
thanks!
tput sgr0 also does the trick :)
--
Thanos Tsouanas <thanos at sians.org> .: Sians
http://thanos.sians.org/ .: http://www.sians.org/
More information about the freebsd-questions
mailing list