[Bash-completion-devel] Bug#789645: Bug#789645: Bug#789645: bash-completion: mplayer also .zip extension

2015-06-23 Thread Peter Cordes
OT do that for .zip, though :/ -- #define X(x,y) x##y Peter Cordes ; e-mail: X(peter@cor , des.ca) "The gods confound the man who first found out how to distinguish the hours! Confound him, too, who in this place set up a sundial, to cut and hack my day so wretchedly into small pie

[Bash-completion-devel] Bug#768005: Bug#768005: Please support xl xen management command

2015-06-04 Thread Peter Cordes
on the bash-completion package.) -- #define X(x,y) x##y Peter Cordes ; e-mail: X(peter@cor , des.ca) "The gods confound the man who first found out how to distinguish the hours! Confound him, too, who in this place set up a sundial, to cut and hack my day so wretchedly in

Re: [Bash-completion-devel] bash-completion & nslcd resulting in "nslcd: "

2015-04-17 Thread Peter Cordes
it with set -x ls ./abc set +x Then go through the trace output and try any external commands on their own, to see if they're the cause. -- #define X(x,y) x##y Peter Cordes ; e-mail: X(peter@cor , des.ca) "The gods confound the man who first found out how to distinguish the hours! Con

Re: [Bash-completion-devel] Processed: Re: Bug#781404: dd: BASH completion overwrites option prefix

2015-03-28 Thread Peter Cordes
/etc/bash_completion.d/* > /dev/null dpkg-query: no path found matching pattern /etc/bash_completion.d/dput.dpkg-old dpkg-query: no path found matching pattern /etc/bash_completion.d/git.dpkg-old found files get printed on stdout, hence the redirect. -- #define X(x,y) x##y Peter Cordes ; e-mail: X(p

Re: [Bash-completion-devel] Bug#775661: [bash-completion] odd completion candidates

2015-01-19 Thread Peter Cordes
t; linux*1; ...), and make a tar.gz of your directory as a testcase, that might possibly be useful for us to test progcomp with weird input. -- #define X(x,y) x##y Peter Cordes ; e-mail: X(peter@cor , des.ca) "The gods confound the man who first found out how to distinguish the hours!

Re: [Bash-completion-devel] merging related completions into a file for dynamic loading?

2014-12-13 Thread Peter Cordes
On Sat, Dec 13, 2014 at 02:08:08PM -0300, Raphaƫl wrote: > On Fri, Dec 12, 2014 at 08:42:27PM -0400, Peter Cordes wrote: > > I guess my thinking is that when we can bring COMPREPLY down from 100k > > to 50k items with sort -u, it's not a bad idea. > > Worth noting that

[Bash-completion-devel] readarray and process substitution. (set -o posix)

2014-12-12 Thread Peter Cordes
back to where I started, IMO we don't need to support set -o posix. Does anyone use that in interactive shells? progcom isn't really essential, IMO, so people can get by on just filename completion in the rare cases where they need to set -o posix in an interactive shell. -- #define X

[Bash-completion-devel] merging related completions into a file for dynamic loading?

2014-12-12 Thread Peter Cordes
27;t try to write it down while I still remembered it, unfortunately. So I guess my thinking is that when we can bring COMPREPLY down from 100k to 50k items with sort -u, it's not a bad idea. -- #define X(x,y) x##y Peter Cordes ; e-mail: X(peter@cor , des.ca) "The gods confound t

Re: [Bash-completion-devel] automated testing: help with assert_complete_* please

2014-12-12 Thread Peter Cordes
On Fri, Dec 12, 2014 at 05:54:37PM -0400, Peter Cordes wrote: > > # FAIL: slightly different results here > assert_complete_one {boost-defaults} "apt-get sourceboost-def" > sync_after_int Ok, so apparently extra whitespace is a problem? #PASS: assert_complete_one {bo

[Bash-completion-devel] automated testing: help with assert_complete_* please

2014-12-12 Thread Peter Cordes
#x27;s boost-defaults, in Ubuntu's main (not univers) section. And ada-reference-manual is interesting in that it builds two binary packages that include the source package name as a prefix. IDK if these tests are going to end up being brittle and break when the archive changes, or break on no

[Bash-completion-devel] how do you filter out matches even if there are files with * in their name?

2014-12-03 Thread Peter Cordes
printf -v files[i] %q "${files[i]}" results in foo\* in the output, then foo\* or something. '"\${files[@]}"' breaks, too. So is it just me, or is compgen generally pretty horrible to use? -- #define X(x,y) x##y Peter Cordes ; e-mail: X(peter@cor ,

[Bash-completion-devel] replacing _minimal with fallback to bash-builtin

2014-12-03 Thread Peter Cordes
t. Anyway, that's what I'm doing for my own use, because I know what's going on. -- #define X(x,y) x##y Peter Cordes ; e-mail: X(peter@cor , des.ca) "The gods confound the man who first found out how to distinguish the hours! Confound him, too, who in this place set up a sundi

[Bash-completion-devel] more testing of disk prefetch

2014-12-03 Thread Peter Cordes
s So, in this case prefetch is saving 0.11s, out of 0.7, or a 15% speedup. Well that's not as good as I thought it was doing, but it's pretty decent. It's a good thing bash doesn't support inline assembly, or I'd be at this for weeks... :P Seriously though,

Re: [Bash-completion-devel] bash autocomplete triggers an ldap request

2014-12-03 Thread Peter Cordes
lioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=bash-completion/bash-completion.git;a=blob;f=bash_completion;h=55c9e48661028cee71301fd244c12d516303d437;hb=HEAD (I'd go with upstream, there are a couple other bugfixes, and it works fine on my trusty system.) -- #define X(x,y) x##y Peter C

[Bash-completion-devel] I filed some bugs in the tracker with patches

2014-12-02 Thread Peter Cordes
completion.d/* into disk cache in the background https://alioth.debian.org/tracker/index.php?func=detail&aid=314901&group_id=100114&atid=413095 -- #define X(x,y) x##y Peter Cordes ; e-mail: X(peter@cor , des.ca) "The gods confound the man who