NAME

Complete::Zsh - Completion module for zsh shell

VERSION

This document describes version 0.03 of Complete::Zsh (from Perl distribution Complete-Zsh), released on 2016-10-22.

DESCRIPTION

This module provides routines related to doing completion in zsh.

FUNCTIONS

format_completion($completion) -> str|array

Format completion for output (for shell).

zsh accepts completion reply in the form of one entry per line to STDOUT. Currently the formatting is done using Complete::Bash's format_completion.

This function is not exported by default, but exportable.

Arguments ('*' denotes required arguments):

  • $completion* => hash|array

    Completion answer structure.

    Either an array or hash, as described in Complete.

Return value: Formatted string (or array, if `as` key is set to `array`) (str|array)

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Complete-Zsh.

SOURCE

Source repository is at https://github.com/sharyanto/perl-Complete-Zsh.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Complete-Zsh

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

Complete

Complete::Bash, Complete::Fish, Complete::Tcsh.

zshcompctl manual page.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.