1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-09-25 12:40:44 +00:00
Commit graph

15 commits

Author SHA1 Message Date
Dominik Ritter
0acede2fdc Make colors a global array
That way it must not be defined in every function call.
2018-08-07 21:36:49 +02:00
Dominik Ritter
eadbd09368 Write comparisons with double equals 2018-08-07 21:35:29 +02:00
Dominik Ritter
9cf76f99a5 Fix bright colors
Remove old code that set bright colors equal to normal colors. This code
was ancient and led to bright colors being unusable. The code originates
from 0e37d8ef86.
2018-08-07 21:33:09 +02:00
Dominik Ritter
ebbdb3c1c0 Make purpose clear of backgroundColor and foregroundColor functions
The functions just start the colors, they do not end them. It seems
too much to have a function that terminates a color.
2018-08-07 21:21:15 +02:00
Dominik Ritter
345cf87b8f Add missing colors to fix color comparison
Added magenta and cyan that were only present with their alternative
names (fuchsia and aqua). See https://en.wikipedia.org/wiki/X11_color_names#Clashes_between_web_and_X11_colors_in_the_CSS_color_scheme
2018-07-24 00:51:37 +02:00
Dominik Ritter
9a895bc7e4 Make variables local 2018-03-27 01:33:21 +02:00
Tim Otlik
bba8bb883e
add check of /etc/os-release for linux distros 2018-02-16 16:45:09 +01:00
Ben Hilburn
fd3d234354
Merge pull request #681 from Stazer/tcolor-warning
Added flag to ignore checking the term colors & lang settings
2018-01-30 16:44:27 -05:00
Christian Höltje
87988cea26 getColor() must always print result
This was causing colors specified as numbers to not be shown.
2018-01-19 22:06:01 -05:00
Justus Flerlage
3a605c7f62 renamed POWERLEVEL9K_CHECK_TERM_COLORS to POWERLEVEL9K_IGNORE_TERM_COLORS 2018-01-07 21:35:33 +01:00
Justus Flerlage
4db2eb0e16 Added flag for checking the term colors 2018-01-07 21:34:46 +01:00
Charles Peterson
0c943ac6d5 colors checking optimized and added tput for check the colors
moved to colors functions, because it makes sense.
2017-12-31 14:34:01 -06:00
Charles Peterson
4d18fdc6e9 fix for colors since the terminals so not always render named colors when using parameter expansion. 2017-12-15 15:42:35 -06:00
Charles Peterson
264897a426 color names and fixes
- fix for packageName truncated by POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER
     - processing the pwd/HOME replacement ONCE.
     - fix tests for named colors
     - use color names by default to allow dark/light themes to adjust colors based on names
2017-11-25 12:46:45 -06:00
Dominik Ritter
0fa635275c Extracted color functions to a separate file. 2015-10-24 01:05:37 +02:00