diff options
| author | Matt Alexander <matt@alxndr.me> | 2022-01-01 14:47:53 -0800 |
|---|---|---|
| committer | Bart Schaefer <schaefer@ipost.com> | 2022-01-01 14:47:53 -0800 |
| commit | 2876c25a28b8052d6683027998cc118fc9b50157 (patch) | |
| tree | 6d49c826eaa2daa2c2dd99e07e2024f988549711 | |
| parent | 49664: Use associative array for third-party completion (diff) | |
| download | zsh-2876c25a28b8052d6683027998cc118fc9b50157.tar zsh-2876c25a28b8052d6683027998cc118fc9b50157.tar.gz zsh-2876c25a28b8052d6683027998cc118fc9b50157.tar.bz2 zsh-2876c25a28b8052d6683027998cc118fc9b50157.tar.lz zsh-2876c25a28b8052d6683027998cc118fc9b50157.tar.xz zsh-2876c25a28b8052d6683027998cc118fc9b50157.tar.zst zsh-2876c25a28b8052d6683027998cc118fc9b50157.zip | |
49667: Include US spelling of "grey" ("gray")
Co-authored-by: Daniel Shahaf <d.s@daniel.shahaf.name>
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | Functions/Misc/colors | 8 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2022-01-01 Bart Schaefer <schaefer@zsh.org> + + * Matt Alexander: 49667: Functions/Misc/colors: include "gray" + 2021-12-29 Oliver Kiddle <opk@zsh.org> * 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. |
