[Bug 382037] Re: Bash-completion fails to parse spaces for umount

Andreas L avl.ramschbox at gmx.at
Sun Apr 29 19:42:16 UTC 2018


adding info from https://answers.launchpad.net/bash-
completion/+question/668391:

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 in that shell.

Maybe packagers for linux-distributions are supposed to divert umount to
umount.linux?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/382037

Title:
  Bash-completion fails to parse spaces for umount

Status in bash-completion package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: bash

  This should be an easy one - When a mount point is created with a
  space in the name (in my case "SANSA CLIP"), bash auto-completion
  fails at the space.

  umount /media/SANSA[TAB] yields "umount /media/SANSA " (note the
  space, but the lack of a complete path).

  Seems to be isolated to umount, but may not be.

  Thanks,
  Sean Crago
  aka MrZaius

  :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  Versioning info:
  cragos at cragos-desktop:~$ lsb_release -rd
  Description:    Ubuntu 9.04
  Release:        9.04

  
  cragos at cragos-desktop:~$ bash --version
  bash --version
  GNU bash, version 3.2.48(1)-release (i486-pc-linux-gnu)

  cragos at cragos-desktop:~$ apt-cache policy bash
  apt-cache policy bash
  bash:
    Installed: 3.2-5ubuntu1
    Candidate: 3.2-5ubuntu1
    Version table:
   *** 3.2-5ubuntu1 0
          500 http://us.archive.ubuntu.com jaunty/main Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/382037/+subscriptions



More information about the foundations-bugs mailing list