More $prev leak fixes.

This commit is contained in:
Ville Skyttä 2009-05-18 20:26:49 +03:00
parent 578810de33
commit 23bd8099f0
5 changed files with 15 additions and 14 deletions

View File

@ -45,7 +45,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 and mkinitrd completion.
* Fix leaking $prev from cpio, dsniff, freeciv, gkrellm, mkinitrd, and
tcpdump completions.
* Split ant completion to contrib/ant, improve the built in one.
[ Todd Zullinger ]

View File

@ -3216,7 +3216,7 @@ complete -F _iptables iptables
have tcpdump &&
_tcpdump()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`

View File

@ -7,7 +7,7 @@
#
_arpspoof()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`
@ -37,7 +37,7 @@ complete -F _arpspoof arpspoof
#
_dnsspoof()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`
@ -65,7 +65,7 @@ complete -F _dnsspoof dnsspoof
#
_dsniff()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`
@ -94,7 +94,7 @@ complete -F _dsniff dsniff
#
_snarf()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`
@ -118,7 +118,7 @@ complete -F _snarf filesnarf mailsnarf msgsnarf
#
_macof()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`
@ -161,7 +161,7 @@ complete -F _sshmitm sshmitm
#
_sshow()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`
@ -185,7 +185,7 @@ complete -F _sshow sshow
#
_tcpkill()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`
@ -209,7 +209,7 @@ complete -F _tcpkill tcpkill
#
_tcpnice()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`
@ -233,7 +233,7 @@ complete -F _tcpnice tcpnice
#
_urlsnarf()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`

View File

@ -5,7 +5,7 @@
_civserver()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`
@ -32,7 +32,7 @@ complete -F _civserver civserver
#
_civclient()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`

View File

@ -5,7 +5,7 @@
_gkrellm()
{
local cur
local cur prev
COMPREPLY=()
cur=`_get_cword`