mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
18434: _signals option handling for pseudo-signals was broken
This commit is contained in:
parent
17a552aa2d
commit
c1bef47364
@ -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.
|
||||
|
@ -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='-'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user