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

2014-12-03 Thread Guillaume Rousse
Le 03/12/2014 01:16, Dean Sniegowski a écrit : I've noticed my bash autocomplete will frequently hang. System info: I'm running Ubuntu 14.04.1 Bash Autocomplete 2.1-4 Authentication using sssd configured for kerberos and ldap Suspected Cause: in _quote_readline_by_ref() has a line elif [[

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

2014-12-03 Thread Peter Cordes
I redid my patch series to include just the things I'm sure are bugfixes for git HEAD. I also redid their commit messages with line wrapping. Will send in a quoting cleanup patch later, with more stuff in one patch, when I'm ready to sign off on it. I've played around with my prefetch idea,

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

2014-12-03 Thread Peter Cordes
I've been playing around with having _completion_loader() do compopt -o bashdefault -o default instead of # Need to define *something*, otherwise there will be no completion at all. #complete -F _minimal -- $cmd return 124 Then I can always prefix my command with a \ to get built-in

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

2014-12-03 Thread Dean Sniegowski
Thanks for the feedback! Much appreciated On Wed, Dec 3, 2014 at 3:14 AM, Peter Cordes pe...@cordes.ca wrote: On Tue, Dec 02, 2014 at 04:16:45PM -0800, Dean Sniegowski wrote: I've noticed my bash autocomplete will frequently hang. System info: I'm running Ubuntu 14.04.1 Bash

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

2014-12-03 Thread Peter Cordes
_filedir_xspec doesn't get this right: touch foobar.Z 'foo*' compress f[TAB] = foo[TAB] = foo* foobar.Z compress foob[TAB] = nothing (as it should be, you shouldn't compress(1) a .Z) I started off looking for cases where $(command ls) could be replaced with a glob, but it only took me about 3

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

2014-12-03 Thread Eduardo Bustamante
To turn off globbing temporarily you can do set -f before the array assignment, por use a loop as specified un faq#1 of the Wooledge.org wiki ___ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org