summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordana <dana@dana.is>2019-10-18 18:47:21 -0500
committerdana <dana@dana.is>2019-10-18 18:47:21 -0500
commit9b69e84729a0fc9758b6c6e8750a0b6d2f814161 (patch)
tree150074a32a3dde27803754672705947dfd3d642c
parent308295d4d20567782cc8f41fe2406be55cbb766d (diff)
downloadzsh-9b69e84729a0fc9758b6c6e8750a0b6d2f814161.tar.gz
zsh-9b69e84729a0fc9758b6c6e8750a0b6d2f814161.zip
44846: _dates: Fix regression caused by workers/44274
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_dates2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index af7edc630..b6af331a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2019-10-18 dana <dana@dana.is>
+
+ * 44846: Completion/Unix/Type/_dates: Fix regression caused by
+ workers/44274
+
2019-10-18 Oliver Kiddle <okiddle@yahoo.co.uk>
* c.f. 44831: Completion/Linux/Command/_tpconfig,
diff --git a/Completion/Unix/Type/_dates b/Completion/Unix/Type/_dates
index 0af10eb24..b75b3af0c 100644
--- a/Completion/Unix/Type/_dates
+++ b/Completion/Unix/Type/_dates
@@ -73,7 +73,7 @@ for ((;rows;rows--)); do
(( spacing = COLUMNS - 32 * columns + 2 ))
disp[-1]="${(l.spacing.)}"
(( spacing < 2 )) && spacer=0 disp[-1]=()
- expl[1+expl[(i)-V]]=dates-$rows
+ expl[1+expl[(i)-J]]=dates-$rows
compadd -x "$mlabels" "$expl[@]" -d disp -E $(( $#disp ))
for ((line=0;line<6;line++)); do