help-bash
[Top][All Lists]
Advanced

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

Bash tab completion shows same dir twice


From: Saurabh T
Subject: Bash tab completion shows same dir twice
Date: Fri, 23 Aug 2024 18:36:13 +0000

At some point during a session, tab completion starts showing the same dir 
twice. It does not happen at the start of the session. This is on Centos 8 with 
bash 4.4 (I have no way to upgrade the system). For example:

> gdb ~/x/[tab]
y/   y/

Some observations:
- When it happens, it affects the whole session (ie. all terminals and 
instances of bash) and afaik the only recourse is to log out and back in. I 
have tried and failed to figure out under what circumstances this starts to 
happen
- There is no "other" y/, it's reporting the one in ~/x/ twice.  
- It seems to be dependent on the command, eg. may happen for gdb but not for 
ls. But may not always be the same command. 

Does anyone know why this could happen and how to "reset" it? Thanks.



reply via email to

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