about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2002-05-12 09:48:58 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2002-05-12 09:48:58 +0000
commitc1ba2d44feb93317bc0268be7abfd79d49cd61fd (patch)
tree00115e13abd94ecca5526fde1769f62a42e4984c
parentd7eee8a62bf12a7736d9a927e6ca6246398418fd (diff)
downloadzsh-c1ba2d44feb93317bc0268be7abfd79d49cd61fd.tar.gz
zsh-c1ba2d44feb93317bc0268be7abfd79d49cd61fd.tar.xz
zsh-c1ba2d44feb93317bc0268be7abfd79d49cd61fd.zip
uposted: do not set style by default, it does not work
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Redhat/Command/_service7
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 943ca03a5..290b3d4d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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 \