about summary refs log tree commit diff
path: root/Completion/Linux/Command/_sysstat
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/_sysstat
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/_sysstat')
-rw-r--r--Completion/Linux/Command/_sysstat2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Linux/Command/_sysstat b/Completion/Linux/Command/_sysstat
index 5620da73d..0baae0764 100644
--- a/Completion/Linux/Command/_sysstat
+++ b/Completion/Linux/Command/_sysstat
@@ -130,7 +130,7 @@ _pidstat() {
   _arguments -s : \
     '-C[filter tasks by string]:task filter' \
     '-d[report I/O statistics]' \
-    '-e[execute specified program and monitor it with pidstat]:*::command: _normal' \
+    '-e[execute specified program and monitor it with pidstat]:*::command: _normal -p $service' \
     '-H[display timestamp in seconds since the epoch]' \
     '-h[display horizontally]' \
     '-I[divide CPU usage by number of processors]' \