I'm used to typing ls Doc
, and tabbing a couple times to complete to ls Documents/
.
However, now my ls is completing that same statement to ls Documents
with a space at the end of Documents, so I can use it to find my way through the file tree.
This started happening today. Any ideas why and more importantly, how to fix?
Edit
This happens for ANY and ALL directories. Documents was an example. $CDPATH
is empty.
complete | grep ls
returns complete -o default -F _longopt ls
as the only relevant answer.
locate Documents
turns up stuff in /usr/lib/