Commit graph

7 commits

Author SHA1 Message Date
a595d71cbd Improved support for leading newline
* New modes that either print it only when it isn't the first line, or
    only add it (as well as a warning) if the last command didn't return
    a newline.
  * Overengineered af.
2022-10-22 18:31:35 +02:00
8e1480c41e Added jobs count section 2022-10-22 15:56:58 +02:00
2b1a4ad324 Host colors added to themes 2022-10-19 22:23:27 +02:00
79be78aa20 Themes - Improved middle section separators 2020-10-23 21:16:22 +02:00
ab28d80e5b Handle being in a deleted directory
* Do not whine when executed from a missing directory
 * Display a section with '(no cwd)'
 * Display path with a different color
2020-10-23 21:06:35 +02:00
77eb4a347c Themes - Fix Ascii/Blocks themes and use *_DEFAULT
* Ascii and Blocks themes need to use the terminal's defaults,
otherwise they will leave a black smear on a non-black terminal
background.
 * Replace -1 colors with SECTION_DEFAULT
2020-10-23 12:53:01 +02:00
a021c87a65 External configuration and themes
The script no longer contains theme definitions, and the default
configuration has been made much simpler. Existing themes have been
moved to a bunch of files (one file per theme) in a subdirectory.
2020-10-21 12:39:23 +02:00