[Bash-completion-devel] Layout change

David Paleino dapal at debian.org
Mon May 2 18:32:37 UTC 2011


On Mon, 02 May 2011 20:00:38 +0300, Ville Skyttä wrote:

> On 05/02/2011 07:34 PM, David Paleino wrote:
> > On Mon, 02 May 2011 19:18:03 +0300, Ville Skyttä wrote:
> > 
> >> On 05/02/2011 06:07 PM, David Paleino wrote:
> >>
> >>> $ tree -L 1 /usr/share/bash-completion/
> >>> /usr/share/bash-completion/
> >>> |-- bash_completion
> >>> |-- completions
> >>> `-- helpers
> >>
> >> That looks fine to me, but I'd like to get rid of the
> >> BASH_COMPLETION_DIR and BASH_COMPLETION_HELPERS_DIR variables
> >> altogether.  I don't see why they would be required, couldn't we just
> >> resolve them based on bash_completion's location (i.e. assume that the
> >> completions and helpers dirs are in the same dir)?
> > 
> > What if downstream packagers/final users move things around? Will we let
> > them shoot their feet? :)
> 
> I don't think there's much we can do to prevent that from happening
> anyway ;)  But seriously, the question is why would they want to do it,
> can you think of a setup for which the above wouldn't work?
> (Remembering that the /usr/share part would remain configurable at build
> time.)

Not really. :)

> [..]
> 
> I think in addition to the usual pkgconfig things completionsdir and
> helpersdir would pretty much be it.

Done with 90b67bc976dccc655f7ba89714b6c1e5b1e5ddc5 :)

David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20110502/1256b304/attachment-0001.pgp>


More information about the Bash-completion-devel mailing list