Bash::Completion::Request - Abstract a completion request
version 0.008
The full command line as given to us by bash.
The word to be completed.
The command line, up to and including the word to be completed, as a list of terms.
The split of the command line into terms is very very basic. There might be dragons here.
Number of words in the command line before the completion point.
The index in the command line where the shell cursor is.
Constructs a completion request object based on the bash environment variables: COMP_LINE and COMP_POINT.
COMP_LINE
COMP_POINT
Accepts a list of completion candidates and passes them on to the shell.
Pedro Melo <melo@cpan.org>
This software is Copyright (c) 2011 by Pedro Melo.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Bash::Completion, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bash::Completion
CPAN shell
perl -MCPAN -e shell install Bash::Completion
For more information on module installation, please visit the detailed CPAN module installation guide.