mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
ad4f267b7a
search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
22 lines
774 B
Plaintext
22 lines
774 B
Plaintext
bash completion should just work when you install new commands. Bash::Completion
|
|
is a system to use and write bash completion rules.
|
|
|
|
For end-users, you just need to add this line to your .bashrc or .bash_profile:
|
|
|
|
setup-bash-complete
|
|
|
|
This will load all the installed Bash::Completion plugins, 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:
|
|
|
|
setup-bash-complete
|
|
|
|
To write a new Bash::Completion plugin, see Bash::Completion::Plugin.
|
|
|
|
WWW: https://metacpan.org/release/Bash-Completion
|