FTR the issue is _quote_readline_by_ref expanding an empty var to '',
see:

$ _quote_readline_by_ref '' foo
$ echo $foo
''

Above MP adds a special case to avoid quoting if empty.

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

Title:
  Tab expansion only auto-completes directory names

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to