[Bug 752193] Re: Installation of the acroread package causes completion to treat directories like files with some commands

Philippe Mermod 752193 at bugs.launchpad.net
Tue Sep 27 14:43:55 UTC 2011


Same problem, which I now realise appeared after I installed acrobat reader. The workaround: 
sudo sed -i "s/_filedir/_filedir_acroread/" /etc/bash_completion.d/acroread.sh
worked perfectly well after rebooting. Thanks!

-- 
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/752193

Title:
  Installation of the acroread package causes completion to treat
  directories like files with some commands

Status in “acroread” package in Ubuntu:
  Confirmed
Status in “bash-completion” package in Ubuntu:
  Won't Fix
Status in “bash-completion” package in Debian:
  Won't Fix

Bug description:
  Binary package hint: bash-completion

  Scenario: go to home directory in terminal, then type "ls Deskto" (without quotes) and press Tab. Result: command line completes to "ls Desktop " (with space after "Desktop"). The problem here is that you may want to continue typing to get to a subdirectory. If I recall correctly, in earlier releases the completion would be "ls Desktop/", where you could press Enter or continue typing.
  This problem exists with at least 'ls' and 'rm'. It seems more is broken because if in above steps you replace 'ls' with 'tar' then you don't get any completion at all, even though Desktop is a folder and hence can contain some archive file. It looks like completion tries to get a "fully-complete" completion and ignores the possibility of intermediate folders.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: bash-completion 1:1.3-1ubuntu3
  ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  Architecture: amd64
  Date: Tue Apr  5 21:18:42 2011
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: bash-completion
  UpgradeStatus: Upgraded to natty on 2011-04-02 (3 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acroread/+bug/752193/+subscriptions




More information about the foundations-bugs mailing list