Fix leaking $i from `man' completion
This commit is contained in:
parent
a490556a5b
commit
6966cad8cf
1
CHANGES
1
CHANGES
@ -139,6 +139,7 @@ bash-completion (1.x)
|
|||||||
[ Freddy Vulto ]
|
[ Freddy Vulto ]
|
||||||
* Patched _known_hosts() to support multiple {Global,User}KnownHosts in SSH
|
* Patched _known_hosts() to support multiple {Global,User}KnownHosts in SSH
|
||||||
config files, thanks to Thomas Nilsson (Alioth: #311595) (Debian: #524190)
|
config files, thanks to Thomas Nilsson (Alioth: #311595) (Debian: #524190)
|
||||||
|
* Fix leaking $i from info and man completions.
|
||||||
|
|
||||||
-- David Paleino <d.paleino@gmail.com> Thu, 18 Jun 2009 13:12:36 +0200
|
-- David Paleino <d.paleino@gmail.com> Thu, 18 Jun 2009 13:12:36 +0200
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
-o $UNAME = OpenBSD ] &&
|
-o $UNAME = OpenBSD ] &&
|
||||||
_man()
|
_man()
|
||||||
{
|
{
|
||||||
local cur prev sect manpath manext mansect uname
|
local cur i prev sect manpath manext mansect uname
|
||||||
|
|
||||||
manext="@([0-9lnp]|[0-9][px]|man|3pm)?(.@(gz|bz2|lzma))"
|
manext="@([0-9lnp]|[0-9][px]|man|3pm)?(.@(gz|bz2|lzma))"
|
||||||
mansect="@([0-9lnp]|[0-9][px]|3pm)"
|
mansect="@([0-9lnp]|[0-9][px]|3pm)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user