Commit Graph

11 Commits (bad2b9ebac2bc8117c5a05f8182def62fea4b24e)

Author SHA1 Message Date
Hector Rivas Gandara 2360790ee3 Fix infinite loop when $PS4 calls external command
When using `set -x` with a `$PS4` variable which calls a external
command (e.g. `PS4='+ $(true)'`) the color functions end in a infite
loop.

The solution is `shift` the arguments unconditionally in the color
funtions.

This fixes #546
2015-08-12 12:00:14 +01:00
Eitan Adler 3fc60b5358 Fix bogus bash binary location 2012-04-17 00:24:58 -04:00
Beren Minor 87d7d7ad34 Fixed issue #103 caused by "normal" colors not reseting bold/underline/... text attributes. 2012-02-14 09:13:51 +01:00
Beren Minor 879d54031d Even better color framework. 2012-02-08 09:35:21 +01:00
Beren Minor 1da06a4b63 Improved color framework. 2012-02-08 00:22:40 +01:00
Travis Swicegood ae3acff27d Add echo_ prefixed colors that work with echo -e (re: #96) 2012-01-26 08:18:59 -06:00
JFSIII 46b8d27815 Change color definitions so they don't require escaping in the themes. When do you ever want those unprintable characters included in the character count? 2011-06-17 14:58:20 -04:00
Robert R Evans 45a50c099e Updated the color themes. Added underline and background colors. 2010-10-09 15:01:50 -07:00
Robert R Evans b64c228da5 Updates 2010-10-07 17:15:14 -07:00
Robert R Evans 7ca450440c Fixed issue #2 2010-10-06 18:21:46 -07:00
Robert R Evans 70c3b523b3 Added a couple more themes and put colors into its own file 2010-10-03 11:50:22 -07:00