bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autocompletion problems with nounset and arrays


From: Chet Ramey
Subject: Re: Autocompletion problems with nounset and arrays
Date: Tue, 26 Apr 2016 13:54:12 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 4/26/16 1:09 AM, Eric Pruitt wrote:

> Bash Version: 4.3
> Patch Level: 30
> Release Status: release
> 
> Description:
>       There's a quirk with Bash's autocompletion when trying to use tab
>       completion with built-in arrays while the nounset option is enabled:
> 
>       ~$ echo ${BASH_AL<Tab>bash: BASH_ALIASES: unbound variable
>       IASES}
> 
>       Note that this happens using Bash's built-in completion; my Bash
>       configuration includes "complete -r" since many of the compgen
>       completions written for Bash use unset variables.

Thanks for the report.  I will fix this before bash-4.4 is released.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]