Re: completion-prefix-display-length doesn't check for common prefix

2016-04-24 Thread Chet Ramey
On 4/24/16 3:36 PM, Grisha Levit wrote: > On Fri, Apr 22, 2016 at 3:23 PM, Chet Ramey chet.ra...@case.edu > wrote: > > Bash-4.4 doesn’t do this. > > I was testing this with the latest devel version. > > |$ echo$BASH_VERSION4.4.0(2)-rc1$ cat .inputrc set >

Re: completion-prefix-display-length doesn't check for common prefix

2016-04-24 Thread Grisha Levit
On Fri, Apr 22, 2016 at 3:23 PM, Chet Ramey chet.ra...@case.edu wrote: Bash-4.4 doesn’t do this. I was testing this with the latest devel version. $ echo $BASH_VERSION4.4.0(2)-rc1 $ cat .inputrcset completion-prefix-display-length 2 $ f() { COMPREPLY=(a b

Re: coproc and existing variables

2016-04-24 Thread Chet Ramey
On 4/21/16 2:39 PM, Grisha Levit wrote: > On Thu, Apr 21, 2016 at 1:22 PM, Chet Ramey wrote: >> >>> 1. coproc unsets readonly NAME after the process completes >> >> Yes. This is a gray area. Under some circumstances, e.g, getopts with >> OPTARG, defined shell behavior can override a readonly set