diff options
author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2023-09-04 15:07:52 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2023-09-04 15:07:52 +0900 |
commit | c0caef561323b91ea0c4aa101b564f92ab51b68d (patch) | |
tree | 5caa79c3bfb53add8f14e49333b456f76bdeded3 /Completion/Unix/Command/_chroot | |
parent | 9ff1b2810e70658b2364b737478e9a996de0a644 (diff) | |
download | zsh-c0caef561323b91ea0c4aa101b564f92ab51b68d.tar.gz zsh-c0caef561323b91ea0c4aa101b564f92ab51b68d.zip |
52112: use '_normal -p subcmd' to complete only external command
Diffstat (limited to 'Completion/Unix/Command/_chroot')
-rw-r--r-- | Completion/Unix/Command/_chroot | 2 |
1 files changed, 1 insertions, 1 deletions
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 |