Bug 1123558

Summary: upgrade to 5.0.5-1 breaks _vim_files completion
Product: [Fedora] Fedora Reporter: Daniel Stone <daniel>
Component: zshAssignee: Dominic Hopf <dmaphy>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: daniel, dmaphy, james.antill
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-20 11:44:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Stone 2014-07-26 12:48:26 UTC
Since upgrading to 5.0.5-1.fc20, my _vim_files autocompletion has been broken:
nightslugs:~% vim <TAB>
_arguments:450: _vim_files: function definition file not found

Re-exec doesn't help this.

Editing /usr/share/zsh/5.0.5/functions/_vim and deleting the:
(${functions[_vim_files]}) ||
prefix before the _vim_files() { ... } definition, makes this work again for me.

(Apologies if the deleted line isn't right; I've removed it now so had to type it from memory. But it's the one that avoids redeclarations if it's already there.)

The only thing I can think of in .zsh/compinstall which would do it is:
zstyle ':completion:*:functions' ignored-patterns '_*'

Any ideas welcome ...

Comment 1 Dominic Hopf 2014-09-01 10:44:48 UTC
Can you check if the issue is still present for you using the latest Zsh 5.0.6 release? You may get it from here already:

    http://koji.fedoraproject.org/koji/buildinfo?buildID=572805

Will be available via updates-testing next days.

Comment 2 Daniel Stone 2014-10-20 11:44:11 UTC
Sorry, yes, it's worked totally fine for me for a while now. Thanks for the fix!