From 3d9d13e918c195f974ff7b2f1dc5b65f6b20a441 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 22 Nov 1999 12:29:47 +0000 Subject: zsh-workers/8720 --- Completion/Builtins/_pids | 2 +- Completion/Builtins/_popd | 2 +- Completion/Builtins/_sched | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/Builtins') diff --git a/Completion/Builtins/_pids b/Completion/Builtins/_pids index 597a19477..3fd71fb84 100644 --- a/Completion/Builtins/_pids +++ b/Completion/Builtins/_pids @@ -16,7 +16,7 @@ _style -a ps list-arguments listargs _style -a ps arguments args (( $#listargs )) || listargs=( "$args[@]" ) -if _style processes description; then +if _style processes verbose; then list=("${(@Mr:COLUMNS-1:)${(f@)$(ps $listargs 2>/dev/null)}[2,-1]:#[ ]#${PREFIX}[0-9]#${SUFFIX}[ ]*${~match}}") desc=(-ld list) else diff --git a/Completion/Builtins/_popd b/Completion/Builtins/_popd index 9b9b0d048..e906571da 100644 --- a/Completion/Builtins/_popd +++ b/Completion/Builtins/_popd @@ -13,7 +13,7 @@ _wanted directory-stack -V expl 'directory stack' || return 1 ! _style directory-stack prefix-needed || [[ $PREFIX = [-+]* ]] || return 1 -if _style directory-stack description; then +if _style directory-stack verbose; then # get the list of directories with their canonical number # and turn the lines into an array, removing the current directory lines=("${PWD}" "${dirstack[@]}") diff --git a/Completion/Builtins/_sched b/Completion/Builtins/_sched index feb7f21e7..5e1086518 100644 --- a/Completion/Builtins/_sched +++ b/Completion/Builtins/_sched @@ -7,7 +7,7 @@ if [[ CURRENT -eq 2 ]]; then _wanted -C - jobs expl 'scheduled jobs' || return 1 lines=(${(f)"$(sched)"}) - if _style jobs description; then + if _style jobs verbose; then disp=( -ld lines ) else disp=() -- cgit 1.4.1