diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-04-04 16:11:14 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-04-04 16:11:14 +0000 |
commit | c1bef473646c5f9c44f53aab4c9f9a0ee33a8454 (patch) | |
tree | ee6318c80e5fe22f09b15e576e310f0e2e5d0ca8 | |
parent | 17a552aa2d2259bca8603ff87e1dbdaac3d07ca0 (diff) | |
download | zsh-c1bef473646c5f9c44f53aab4c9f9a0ee33a8454.tar.gz zsh-c1bef473646c5f9c44f53aab4c9f9a0ee33a8454.tar.xz zsh-c1bef473646c5f9c44f53aab4c9f9a0ee33a8454.zip |
18434: _signals option handling for pseudo-signals was broken
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | 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 <pws@csr.com> + * 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='-' |