Fix leaking $prev from _service().
This commit is contained in:
parent
9bb02ca317
commit
a490556a5b
4
CHANGES
4
CHANGES
@ -71,8 +71,8 @@ bash-completion (1.x)
|
||||
completion, assume only that --*file*= does, and that --*dir*= takes dirs.
|
||||
* Add make --old/new-file, --assume-old/new, --what-if value completions.
|
||||
* Add smartctl -n/--nocheck completion, add more other value completions.
|
||||
* Fix leaking $prev from cpio, dsniff, freeciv, gkrellm, mkinitrd, and
|
||||
tcpdump completions.
|
||||
* Fix leaking $prev from cpio, dsniff, freeciv, gkrellm, mkinitrd, service,
|
||||
and tcpdump completions.
|
||||
* Split ant completion to contrib/ant, improve the built in one.
|
||||
* Improve postfix completion.
|
||||
* Improve samba completion.
|
||||
|
@ -640,7 +640,7 @@ _usb_ids()
|
||||
{ have service || [ -d /etc/init.d/ ]; } &&
|
||||
_service()
|
||||
{
|
||||
local cur sysvdir
|
||||
local cur prev sysvdir
|
||||
|
||||
COMPREPLY=()
|
||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||
|
Loading…
x
Reference in New Issue
Block a user