From 2876c25a28b8052d6683027998cc118fc9b50157 Mon Sep 17 00:00:00 2001 From: Matt Alexander Date: Sat, 1 Jan 2022 14:47:53 -0800 Subject: 49667: Include US spelling of "grey" ("gray") Co-authored-by: Daniel Shahaf --- ChangeLog | 4 ++++ Functions/Misc/colors | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2a1db9cc1..c7b2cb59c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2022-01-01 Bart Schaefer + + * Matt Alexander: 49667: Functions/Misc/colors: include "gray" + 2021-12-29 Oliver Kiddle * Aaron Schrab: 49664: Completion/Unix/Command/_git: diff --git a/Functions/Misc/colors b/Functions/Misc/colors index b221e6688..5e9d77d10 100644 --- a/Functions/Misc/colors +++ b/Functions/Misc/colors @@ -83,9 +83,11 @@ for k in ${color[(I)3?]}; do color[fg-${color[$k]}]=$k; done # This is inaccurate, but the prompt theme system needs it. -color[grey]=${color[black]} -color[fg-grey]=${color[grey]} -color[bg-grey]=${color[bg-black]} +for k in grey gray; do + color[$k]=${color[black]} + color[fg-$k]=${color[$k]} + color[bg-$k]=${color[bg-black]} +done # Assistance for the color-blind. -- cgit 1.4.1