diff options
Diffstat (limited to 'Completion/Unix/Type/_pids')
-rw-r--r-- | Completion/Unix/Type/_pids | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Completion/Unix/Type/_pids b/Completion/Unix/Type/_pids index 7b09a1195..e20844703 100644 --- a/Completion/Unix/Type/_pids +++ b/Completion/Unix/Type/_pids @@ -1,9 +1,9 @@ -#autoload +#compdef pflags pcred pmap pldd psig pstack pfiles pwdx pstop prun pwait ptree # If given the `-m <pattern>' option, this tries to complete only pids # of processes whose command line match the `<pattern>'. -local out pids list expl match desc listargs args all nm ret=1 +local out pids list expl match desc listargs all nm ret=1 _tags processes || return 1 @@ -20,8 +20,6 @@ else nm="$compstate[nmatches]" fi -zstyle -s ":completion:${curcontext}:processes" command args - out=( "${(@f)$(_call_program processes ps 2>/dev/null)}" ) desc="$out[1]" out=( "${(@M)out[2,-1]:#${~match}}" ) |