about summary refs log tree commit diff
path: root/Completion/Linux/Command/_setpriv
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-09-04 15:07:52 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-09-04 15:07:52 +0900
commitc0caef561323b91ea0c4aa101b564f92ab51b68d (patch)
tree5caa79c3bfb53add8f14e49333b456f76bdeded3 /Completion/Linux/Command/_setpriv
parent9ff1b2810e70658b2364b737478e9a996de0a644 (diff)
downloadzsh-c0caef561323b91ea0c4aa101b564f92ab51b68d.tar.gz
zsh-c0caef561323b91ea0c4aa101b564f92ab51b68d.tar.xz
zsh-c0caef561323b91ea0c4aa101b564f92ab51b68d.zip
52112: use '_normal -p subcmd' to complete only external command
Diffstat (limited to 'Completion/Linux/Command/_setpriv')
-rw-r--r--Completion/Linux/Command/_setpriv2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Linux/Command/_setpriv b/Completion/Linux/Command/_setpriv
index 196f2f627..9e38152b9 100644
--- a/Completion/Linux/Command/_setpriv
+++ b/Completion/Linux/Command/_setpriv
@@ -96,7 +96,7 @@ _arguments -C -S -s \
   '--selinux-label[request a selinux label]:SELinux labels: ' \
   '--apparmor-profile[request an apparmor profile]:AppArmor profiles: ' \
   '--reset-env[set environment as for a classic login shell]' \
-  '*:::command:_normal' \
+  '*:::command: _normal -p $service' \
   && return 0
 
 case $state in