Bug 4430 - bash completion broken for ~ (tilde)
: bash completion broken for ~ (tilde)
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: Normal normal
: 2014 Fresh R4
Assigned To: Andrey Bondrov
: ROSA Linux Bugs
Depends on:
  Show dependency treegraph
Reported: 2014-09-24 19:53 MSD by Konstantin Vlasov
Modified: 2014-09-25 19:45 MSD (History)
1 user (show)

See Also:
RPM Package:
Bad POT generating:


Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Vlasov 2014-09-24 19:53:24 MSD

cat ~/.kde4/share/config/p

and press TAB to auto-complete the list of files/dirs. Despite the fact that there several files in the directory with names stargin with "p", nothing will be suggested. If you delete this "p" and press TAB, the name "kresources/" will be appended, as if there is nothing else in this directory. It all seems that file names are totally ignored.

If you use full path instead of tilde, like /home/user/.kde4/share/config/, auto-completion works correctly.
Comment 1 Andrey Bondrov 2014-09-25 17:46:17 MSD
$ cat ~/.kde4/share/config/ [TAB]
colors/     kdeconnect/ kresources/
Comment 2 Andrey Bondrov 2014-09-25 17:47:21 MSD
I see, it ignores filenames indeed.
Comment 4 Andrey Bondrov 2014-09-25 17:53:19 MSD
I'll try to fix it today.
Comment 5 Andrey Bondrov 2014-09-25 19:15:32 MSD
Seems to be fixed in bash-completion 2.1-13. Please update, test and close the bug.
Comment 6 Konstantin Vlasov 2014-09-25 19:45:07 MSD
Confirm fixed.