blob: 9b280927135f699712ff67b9f247d11b3dc7e0c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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: http://search.cpan.org/dist/Bash-Completion/
|