From c1bef473646c5f9c44f53aab4c9f9a0ee33a8454 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 4 Apr 2003 16:11:14 +0000 Subject: [PATCH] 18434: _signals option handling for pseudo-signals was broken --- ChangeLog | 3 +++ Completion/Unix/Type/_signals | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ccc73d567..f0fba72c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-04-04 Peter Stephenson + * 18434: Completion/Unix/Type/_signals: -a option was handled the + wrong way round so e.g. `kill -' completed pseudo-signals. + * unposted: Config/version.mk: version 4.1.1-test-1. * unposted: corrections to 18433 from Oliver. diff --git a/Completion/Unix/Type/_signals b/Completion/Unix/Type/_signals index 5723f4f9c..104efd4f4 100644 --- a/Completion/Unix/Type/_signals +++ b/Completion/Unix/Type/_signals @@ -12,9 +12,9 @@ local expl last minus pre sigs zparseopts -D -K -E 'p=minus' 'a=last' 's=pre' if [[ -z "$last" ]]; then - last=-1 -else last=-3 +else + last=-1 fi [[ -n "$minus" ]] && minus='-'