Fix leaking $i from python completion

master
Freddy Vulto 2009-07-24 11:52:58 +02:00
parent 285136a8df
commit 3d7321bc68
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ bash-completion (1.x)
[ Freddy Vulto ]
* Patched _known_hosts() to support multiple {Global,User}KnownHosts in SSH
config files, thanks to Thomas Nilsson (Alioth: #311595) (Debian: #524190)
* Fix leaking $i from info and man completions.
* Fix leaking $i from info, man and python completions.
-- David Paleino <d.paleino@gmail.com> Thu, 18 Jun 2009 13:12:36 +0200

View File

@ -6,7 +6,7 @@
have python &&
_python()
{
local prev cur
local prev cur i
COMPREPLY=()
cur=`_get_cword`