On 5/19/16 2:54 PM, Siteshwar Vashisht wrote: > > > ----- Original Message ----- >> From: "Chet Ramey" <chet.ra...@case.edu> >> To: "Eric Pruitt" <eric.pru...@gmail.com>, bug-bash@gnu.org, >> b...@packages.debian.org >> Cc: "chet ramey" <chet.ra...@case.edu> >> Sent: Tuesday, April 26, 2016 11:24:12 PM >> Subject: Re: Autocompletion problems with nounset and arrays >> >> Thanks for the report. I will fix this before bash-4.4 is released. > > I have built bash from devel branch and I am still able to reproduce this > bug. Also, this bug is reproducible if I try to complete path names instead > of arrays.
Sorry, I am afraid you misunderstood my response. The original report concerned bash's built-in word completion, and the change you refer to fixes that case. It's not visible to users, since it changes the setting temporarily in a place where users cannot do it. You're using the bash_completion package, and it does not handle running with `-u' enabled very well. I don't think bash should be changing something where it ends up being user-visible to compensate for a case the script didn't anticipate -- that's the script's business. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/