diff options
Diffstat (limited to 'Completion/Base/_jobs')
-rw-r--r-- | Completion/Base/_jobs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Base/_jobs b/Completion/Base/_jobs index ba83d784e..40d6efc34 100644 --- a/Completion/Base/_jobs +++ b/Completion/Base/_jobs @@ -2,11 +2,11 @@ local expl disp jobs job jids pfx='%' desc -_tags any jobs || return 1 +_tags jobs || return 1 -_style jobs prefix-needed yes && [[ "$PREFIX" != %* ]] && return 1 -_style jobs prefix-hidden yes && pfx='' -_style jobs description yes && desc=yes +_style jobs prefix-needed && [[ "$PREFIX" != %* ]] && return 1 +_style jobs prefix-hidden && pfx='' +_style jobs description && desc=yes if [[ "$1" = -r ]]; then jids=( "${(@k)jobstates[(R)running*]}" ) |