completion for umount fails if volume name has blank

Asked by Andreas L on 2018-04-29

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:
2018-04-29
Last query:
2018-04-29
Last reply:
2018-04-29
Andreas L (avl42) said : #1

Version is 1:2.8-1ubuntu1

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.

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

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