[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 23bd8099f09cb54a20620bfbd6143e78dec28334
Ville Skyttä
ville.skytta at iki.fi
Mon May 18 17:26:55 UTC 2009
The following commit has been merged in the master branch:
commit 23bd8099f09cb54a20620bfbd6143e78dec28334
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Mon May 18 20:26:49 2009 +0300
More $prev leak fixes.
diff --git a/CHANGES b/CHANGES
index cdf08c4..7409edf 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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 ]
diff --git a/bash_completion b/bash_completion
index 40c4f2f..912a828 100644
--- a/bash_completion
+++ b/bash_completion
@@ -3216,7 +3216,7 @@ complete -F _iptables iptables
have tcpdump &&
_tcpdump()
{
- local cur
+ local cur prev
COMPREPLY=()
cur=`_get_cword`
diff --git a/contrib/dsniff b/contrib/dsniff
index 614005a..c426da4 100644
--- a/contrib/dsniff
+++ b/contrib/dsniff
@@ -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`
diff --git a/contrib/freeciv b/contrib/freeciv
index 0a5cf35..b27c9fb 100644
--- a/contrib/freeciv
+++ b/contrib/freeciv
@@ -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`
diff --git a/contrib/gkrellm b/contrib/gkrellm
index 43603b1..913dd0f 100644
--- a/contrib/gkrellm
+++ b/contrib/gkrellm
@@ -5,7 +5,7 @@
_gkrellm()
{
- local cur
+ local cur prev
COMPREPLY=()
cur=`_get_cword`
--
bash-completion
More information about the Bash-completion-commits
mailing list