From c0caef561323b91ea0c4aa101b564f92ab51b68d Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Mon, 4 Sep 2023 15:07:52 +0900 Subject: 52112: use '_normal -p subcmd' to complete only external command --- Completion/Unix/Command/_chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_chroot') diff --git a/Completion/Unix/Command/_chroot b/Completion/Unix/Command/_chroot index 516992694..a9c577bd7 100644 --- a/Completion/Unix/Command/_chroot +++ b/Completion/Unix/Command/_chroot @@ -33,7 +33,7 @@ case $variant in ;; esac -args+=( '1:new root directory:_directories' '*:::command:_normal' ) +args+=( '1:new root directory:_directories' '*::: : _normal -p $service' ) _arguments -s -S : $args && ret=0 -- cgit v1.2.3