On 05/21/2010 10:41 AM, Peng Yu wrote:
>> 'help complete' is the easiest way to see the short details; other than
>> that, look for complete under 'SHELL BUILTIN COMMANDS' in the man page.
> 
> I see the following error. What is wrong with my bash?

Nothing is wrong with bash.  Bash is telling you that you have not yet
installed a completion handler for python.

But it _is_ a sign that you have not installed the bash-completion
package, nor installed completions manually.

> 
> $ complete -p python
> bash: complete: python: no completion specification
> $ type _python
> bash: type: _python: not found

What's your distro?  On fedora, do 'yum install -y bash-completion'.  Or
get it yourself: http://bash-completion.alioth.debian.org/files/

Then start a new shell, and compare the difference.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to