about summary refs log tree commit diff
path: root/Completion
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 /Completion
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
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Redhat/Command/_service7
1 files changed, 4 insertions, 3 deletions
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 \