about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Redhat/Command/_service7
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  <bor@zsh.org>
+	* 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  <pws@csr.com>
 
 	* 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 \