summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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