"Mark Galbraith" <address@hidden> writes:
> Actually, I prefer the current behavior. If for some reason my terminal
> gets into a strange mode where the color of the text is changed and
> difficult to read, all I need to do is run an 'ls' command, and the
> colors will be restored to normal.
If you put the attribute-restoring escape sequence in the shell prompt
you don't even need to run any command at all.
Eg. in bash:
PS1="...\[$(tput sgr0)\]..."
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."