about summary refs log tree commit diff
path: root/Completion/Unix/Type
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-09-22 11:43:17 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-09-22 21:02:45 +0000
commit7ecc3f8b4efe89ac539201ddfce087dca4ad77a9 (patch)
tree523813b0b638f0edd65abc4ffeac691f3f1b6771 /Completion/Unix/Type
parent4e51079f0bfc2fa0085376a56f3002370d90e99a (diff)
downloadzsh-7ecc3f8b4efe89ac539201ddfce087dca4ad77a9.tar.gz
zsh-7ecc3f8b4efe89ac539201ddfce087dca4ad77a9.tar.xz
zsh-7ecc3f8b4efe89ac539201ddfce087dca4ad77a9.zip
39410: Fix unintentional history modifiers.
Diffstat (limited to 'Completion/Unix/Type')
-rw-r--r--Completion/Unix/Type/_dates4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Type/_dates b/Completion/Unix/Type/_dates
index e4fa62e48..0af10eb24 100644
--- a/Completion/Unix/Type/_dates
+++ b/Completion/Unix/Type/_dates
@@ -22,10 +22,10 @@ local future mlabel mfmt mlabels
 
 zparseopts -D -K -E f:=format F=future
 (( future = $#future ? 1 : -1 ))
-zstyle -s ':completion:$curcontext:dates' date-format userformat
+zstyle -s ":completion:${curcontext}:dates" date-format userformat
 format=${userformat:-${format[2]:-%F}}
 
-zstyle -a ':completion:$curcontext:dates' max-matches-length r
+zstyle -a ":completion:${curcontext}:dates" max-matches-length r
 for ri in $r; do
   [[ $ri = [0-9]##% ]] && (( ri = LINES * .${ri%%%} ))
   (( ri < rows )) && (( rows=ri ))