Public bug reported:

I initially asked a question about this on Ask Ubuntu:
http://askubuntu.com/questions/317667/tab-completing-directories-when-
exporting-variables-in-bash-4-2


The problem is that when I try to complete while exporting a variable that 
contains a directory name, I get the following:
$ export VAR=/home/w<TAB>
$ export /home/wds

While correct behaviour would give me:
$ export VAR=/home/wds

The completion is handled by the script in 
/usr/share/bash-completion/completions/export, which installs a function 
_export, seen when running complete -p export which gives:
complete -F _export export

Remove the bash-completion package solves the problem, but of course I'm
now missing all those other completions I might want.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: bash-completion (not installed)
ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
Uname: Linux 3.8.0-26-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.2
Architecture: amd64
Date: Tue Jul  9 14:56:38 2013
InstallationDate: Installed on 2011-03-03 (858 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MarkForUpload: True
SourcePackage: bash-completion
UpgradeStatus: Upgraded to raring on 2013-05-13 (56 days ago)

** Affects: bash-completion (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug raring

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

Title:
  completion broken for "export"

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

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

Reply via email to