[Pkg-zsh-devel] Bug#1148125: zsh: iptables completion is partially broken

Eugene Berdnikov bd4 at protva.ru
Thu Sep 17 11:24:01 BST 2026


Package: zsh
Version: 5.9.2-1+b1

 Hello. After zsh upgrade from 5.9-8+b40 to 5.9.2-1+b1 completion for
 "iptables" command becomes partially broken: is does not complete
 chain names. For example, "iptables -nvL I<TAB>" in older versions
 does complete I to INPUT, F to FORWARD and so on, but in new version
 does not. Typing "iptables -nvL I<CTRL-X>h" I got --

 case 5.9-8+b40 (normal):

tags in context :completion::complete:iptables::
    option-L-1 options  (_arguments _iptables)
tags in context :completion::complete:iptables:option-L-1:
    chains  (_iptables)

 case 5.9.2-1+b1 (broken):

tags in context :completion::complete:iptables::
    option-L-1 option-L-2 options  (_arguments _iptables)

 If directory tree /usr/share/zsh of 5.9.2-1+b1 is completely substituted
 by that one from 5.9-8+b40 package, completion of chain names works.

 If only single file /usr/share/zsh/functions/Completion/Linux/_iptables
 is substituted by version from 5.9-8+b40, completion remains broken.
-- 
 Eugene Berdnikov



More information about the Pkg-zsh-devel mailing list