about summary refs log tree commit diff
path: root/Completion/BSD
diff options
context:
space:
mode:
authorStephane Chazelas <stephane@chazelas.org>2023-06-08 15:25:13 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-06-08 15:26:41 +0900
commit2778fc5d7a1bf974147ee7e9b116adac97e20eea (patch)
treee417b4d0287d18e98ecf430f0ce25b8d1a9b54c3 /Completion/BSD
parent58852b3246e41be1512d5d167bb47b69c099c324 (diff)
downloadzsh-2778fc5d7a1bf974147ee7e9b116adac97e20eea.tar.gz
zsh-2778fc5d7a1bf974147ee7e9b116adac97e20eea.tar.xz
zsh-2778fc5d7a1bf974147ee7e9b116adac97e20eea.zip
51817: protect ':' in _rcctl
This was in 51817 but missed in commit 0577daf.
Also remove _ant.rej that was added by the commit.
Diffstat (limited to 'Completion/BSD')
-rw-r--r--Completion/BSD/Command/_rcctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/BSD/Command/_rcctl b/Completion/BSD/Command/_rcctl
index 98e4f9846..457c3eb85 100644
--- a/Completion/BSD/Command/_rcctl
+++ b/Completion/BSD/Command/_rcctl
@@ -46,6 +46,6 @@ case $service in
       '*:argument:'
     ;;
   ${(~j:|:)actions}|disable|enable)
-    _arguments "*:service to $words[2]:_services"
+    _arguments "*:service to ${words[2]}:_services"
     ;;
 esac