bug-bash
[Top][All Lists]
Advanced

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

Re: bash: ":?xxx" filename broken on autocomplete


From: Andreas Schwab
Subject: Re: bash: ":?xxx" filename broken on autocomplete
Date: Sat, 27 Apr 2024 23:56:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Apr 27 2024, Kerin Millar wrote:

> In the course of trying this in bash-5.3-alpha, I noticed something else. If 
> ':?aa' is not the only entry in the current working directory, readline 
> behaves as if :<tab> is an ambiguous completion. That is:
>
> # mkdir ':?aa'
> # touch 'something-else'
> # rmdir :<tab>
>
> ... produces nothing until pressing the tab key a second time, after which 
> both entries are listed while the content of readline's input buffer remains 
> unchanged.

':' is in $COMP_WORDBREAKS.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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