From 95b2f57eaec07c208291b22101e5210fdc4da494 Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Sun, 12 May 2002 09:45:20 +0000 Subject: unposted: fix context name; do not set style by default until it works --- ChangeLog | 5 +++++ Completion/Redhat/Command/_service | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7fa08cabe..6b3f467de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-12 Andrej Borsenkow + * unposted: Completion/Redhat/Command/_service: fix context + name for tag-order style. For now comment it out because it + does not work + 2002-05-10 Peter Stephenson * users/4951: Doc/Zsh/builtins.yo: make it clearer that ulimit diff --git a/Completion/Redhat/Command/_service b/Completion/Redhat/Command/_service index 013acef9f..ed3433f05 100644 --- a/Completion/Redhat/Command/_service +++ b/Completion/Redhat/Command/_service @@ -5,9 +5,10 @@ # _sub_command happy # we are interested in init service only -local ctx="${curcontext/%[^:]#:[^:]#/argument-1:}" -zstyle -T ":completion:$ctx" tag-order && \ - zstyle ":completion:$ctx" tag-order init - +# FIXME: this is commented out because it currently does not work +#local ctx="${curcontext}argument-1:" +#zstyle -T ":completion:${ctx}" tag-order && \ +# zstyle ":completion:${ctx}" tag-order init - _arguments -s \ -- cgit 1.4.1