22 Oct 2011 16:53:08 UTC
- Distribution: Bash-Completion
- Module version: 0.008
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (2)
- Testers (2271 / 77 / 0)
- KwaliteeBus factor: 1
- 69.20% Coverage
- License: artistic_2
- Activity24 month
- Download (16.17KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Bash::Completion - Extensible system to provide bash completion
## For end users, in your .bashrc: ## . setup-bash-complete ## ## Now install all the Bash::Completion::Plugins:: that you need ## ## For plugin writters, see Bash::Completion::Plugin
bashcompletion should just work when you install new commands.
Bash::Completionis a system to use and write bash completion rules.
For end-users, you just need to add this line to your
This will load all the installed
Bash::Completionplugins, make sure they should be activated and generate the proper bash code to setup bash completion for them.
If you later install a new command line tool, and it has a Bash::Completion::Plugin- based plugin, all your new shells will have bash completion rules for it. You can also force immediate setup by running the same command:
To write a new
Bash::Completionplugin, see Bash::Completion::Plugin.
Create a Bash::Completion instance.
Given a plugin name and a list reference of plugin arguments, loads the proper plugin class, creates the plugin instance and asks for possible completions.
Returns the Bash::Completion::Request object.
Checks all plugins found if they should be activated.
Generates and returns the proper bash code snippet to it all up.
@INCfor all classes in the Bash::Completion::Plugins:: namespace.
Pedro Melo <firstname.lastname@example.org>
This software is Copyright (c) 2011 by Pedro Melo.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
Module Install Instructions
To install Bash::Completion, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Bash::Completion
For more information on module installation, please visit the detailed CPAN module installation guide.