Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Remove curl completion



On 2015-11-18 16:20:52 -0800, Bart Schaefer wrote:
> On Nov 18, 11:16pm, Daniel Shahaf wrote:
> } Upstream now ships a completion that is a superset of this one.
> 
> I wish there were some way to conditionalize this.  I dislike the
> assumption that bleeding-edge curl and bleeding-edge zsh will always
> be installed together.  If I upgrade zsh but not curl, suddenly my
> curl completion disappears entirely.

Shouldn't the part concerning curl in
$prefix/share/zsh/functions/Completion/Unix/_urls
be moved to its own .../Completion/Unix/_curl, and curl install
its completion in $prefix/share/zsh/vendor-completions so that
it has the precedence?

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Messages sorted by: Reverse Date, Date, Thread, Author