Summary: | app-shells/gentoo-bashcomp - Add ebuild(1) --skip-manifest completion support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergei Shilovsky <sh13ld> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Shell Tools project <shell-tools> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | sh13ld |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Fixed implementation of bash completion for ebuild command
Refixed implementation |
Description
Sergei Shilovsky
2012-02-11 05:32:58 UTC
To be more precise, it DOES complete --skip-manifest and other options as well as ebuild file names. But as soon as one option or ebuild file name is typed it allows only command completion (e.g. digest, clean etc.) which prohibits completion of statements like 'ebuild --skip-manifest my.ebuild digest' or 'ebuild my.ebuild --skip-manifest digest' or 'ebuild my.ebuild digest --skip-manifest' Created attachment 362770 [details, diff]
Fixed implementation of bash completion for ebuild command
That bug bugged me for quite some time - finally I got around to looking into it.
Current implementation for ebuild bashcomp is broken, patch with a working one is attached.
Created attachment 362772 [details, diff]
Refixed implementation
Small clean-up of the previous patch - one line was redundant, sorry.
|