about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorMatt Alexander <matt@alxndr.me>2022-01-01 14:47:53 -0800
committerBart Schaefer <schaefer@ipost.com>2022-01-01 14:47:53 -0800
commit2876c25a28b8052d6683027998cc118fc9b50157 (patch)
tree6d49c826eaa2daa2c2dd99e07e2024f988549711 /Functions
parent92c80e72aa70ee4b3cc15271136f136e081a7ede (diff)
downloadzsh-2876c25a28b8052d6683027998cc118fc9b50157.tar.gz
zsh-2876c25a28b8052d6683027998cc118fc9b50157.tar.xz
zsh-2876c25a28b8052d6683027998cc118fc9b50157.zip
49667: Include US spelling of "grey" ("gray")
Co-authored-by: Daniel Shahaf <d.s@daniel.shahaf.name>
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Misc/colors8
1 files changed, 5 insertions, 3 deletions
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.