completion for umount fails if volume name has blank

Asked by Andreas L

bash completion for "umount /media/user/fs nam"+<Tab> fails if volume name has a blank.
It then only completes up to the blank.

(didn't find a "new bug"-button, so trying as a question)

Question information

Language:
English Edit question
Status:
Solved
For:
bash-completion Edit question
Assignee:
No assignee Edit question
Solved by:
Andreas L
Solved:
Last query:
Last reply:
Revision history for this message
Andreas L (avl42) said :
#1

Version is 1:2.8-1ubuntu1

Revision history for this message
Andreas L (avl42) said :
#2

Problem is that apparently it is using the plain "umount"-completion rather than the "umount.linux"
If I source /usr/share/bash-completion/completions/umount.linux into running shell, then completion works correctly afterwards.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Which operating system are you running?

If it is Ubuntu, then you should create a bug report by using https://bugs.launchpad.net/ubuntu/+source/bash-completion/+filebug

If you are using another operating system, then you probably should have a look at https://github.com/scop/bash-completion

Revision history for this message
Andreas L (avl42) said :
#4

I'll declare it as solved here, and let it continue there: https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/382037