Re: Assignment of associative arrays through braces

2018-07-31 Thread Chet Ramey
On 7/27/18 7:13 PM, konsolebox wrote: > Hi Chet, > > I wonder if you can allow bash to have another syntax to allow simpler > declaration and/or definition of associative arrays. The changes > needed to have it done seem simple enough, and the only conflict it > makes is a scalar `var={...` assig

Re: segfault w/ localvar_inherit and associative array insert

2018-07-31 Thread Chet Ramey
On 7/29/18 10:26 PM, Grisha Levit wrote: > Though my motivation in reporting this was to point out the segfault, I'm a > bit confused by why compound assignment should be an error here. > >> Bash is consistent in defaulting to indexed array variables when you don't >> specify -A and assign a value

Re: Lacking documentation of colored-completion-prefix

2018-07-31 Thread Chet Ramey
On 7/25/18 2:48 PM, Michal Pesa wrote: > It would be obvious then what color exactly needs to be change in the > LS_COLORS variable if a different color was desired. I don't see setting the color in stone as helping the user experience. It's the same color as sockets right now, since that's unlike

Re: Lacking documentation of colored-completion-prefix

2018-07-31 Thread Michal Pesa
That's exactly what I would welcome in the manual. Something as simple as: The socket color "so" of the LS_COLORS variable is used as the prefix color. Regards. On 7/31/2018 5:09 PM, Chet Ramey wrote: On 7/25/18 2:48 PM, Michal Pesa wrote: It would be obvious then what color exactly needs t

Re: Assignment of associative arrays through braces

2018-07-31 Thread konsolebox
On Tue, Jul 31, 2018 at 10:31 PM, Chet Ramey wrote: > On 7/27/18 7:13 PM, konsolebox wrote: >> Hi Chet, >> >> I wonder if you can allow bash to have another syntax to allow simpler >> declaration and/or definition of associative arrays. The changes >> needed to have it done seem simple enough, an