summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2002-05-12 09:45:20 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2002-05-12 09:45:20 +0000
commit95b2f57eaec07c208291b22101e5210fdc4da494 (patch)
tree8dc8794d7ad8d31b06a8ebbfdb0f9dec0a99156f
parentcf00466e1325441854150b306e5152a7524660c3 (diff)
downloadzsh-95b2f57eaec07c208291b22101e5210fdc4da494.tar.gz
zsh-95b2f57eaec07c208291b22101e5210fdc4da494.tar.xz
zsh-95b2f57eaec07c208291b22101e5210fdc4da494.zip
unposted: fix context name; do not set style by default until it works
-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 \