From 01e67ec323e5466204970a637f81e4d4427da396 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 12 Mar 2003 18:55:12 +0000 Subject: fix completions of locales on Linux, complete for more commands using existing completions and more improvements to sccs completion --- Completion/Unix/Type/_pids | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Completion/Unix/Type/_pids') 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 ' option, this tries to complete only pids # of processes whose command line match the `'. -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}}" ) -- cgit 1.4.1