about summary refs log tree commit diff
path: root/Completion/Unix/Command/_tla
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_tla')
-rw-r--r--Completion/Unix/Command/_tla4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_tla b/Completion/Unix/Command/_tla
index 358a6a736..1e4cdd8d9 100644
--- a/Completion/Unix/Command/_tla
+++ b/Completion/Unix/Command/_tla
@@ -6,7 +6,7 @@ local tla_version
 local hide_short
 
 # ask the user which version of tla this is
-if ! zstyle -s ":completion:${curcontext}" tla-version tla_version; then
+if ! zstyle -s ":completion:${curcontext}:" tla-version tla_version; then
   # ask tla instead
   tla_version="$($TLA --version)"
   if [[ "${${(f)tla_version}[1]}" == The\ GNU\ Arch\ Revision\ Control\ System\ \(tla\)\ (#b)([0-9.]##) ]]; then
@@ -18,7 +18,7 @@ if ! zstyle -s ":completion:${curcontext}" tla-version tla_version; then
 fi
 
 # test whether to hide short options from completion
-if zstyle -s ":completion:${curcontext}" hide-shortopts hide_short; then
+if zstyle -s ":completion:${curcontext}:" hide-shortopts hide_short; then
   case $hide_short in
     true|yes|on|1) hide_short='!' ;;
     *) hide_short='' ;;