[Bug 1290572] Re: tab completion skips files when path begins with ~
    JuanJo Ciarlante 
    1290572 at bugs.launchpad.net
       
    Thu Mar 13 22:54:41 UTC 2014
    
    
  
*** This bug is a duplicate of bug 1288031 ***
    https://bugs.launchpad.net/bugs/1288031
** Branch linked: lp:~jjo/bash-completion/quote_readline_by_ref_fixes
** Branch unlinked: lp:~jjo/bash-completion/fix-bash43
-quote_readline_by_ref-tilde-and-double_escaping
-- 
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/1290572
Title:
  tab completion skips files when path begins with ~
Status in “bash-completion” package in Ubuntu:
  Confirmed
Bug description:
  Tab completion does not list files when the path begins with ~, like
  so:
    ubuntu at trusty-i386:~$ cd ~ && ls -l testdir
    total 8
    drwxrwxr-x 2 ubuntu ubuntu 4096 Mar 10 13:15 dir1
    drwxrwxr-x 2 ubuntu ubuntu 4096 Mar 10 13:15 Dir2
    -rw-rw-r-- 1 ubuntu ubuntu    0 Mar 10 13:15 file
    ubuntu at trusty-i386:~$ ls -l testdir/<tab><tab>
    dir1/ Dir2/ file
    ubuntu at trusty-i386:~$ ls -l ~/testdir/<tab><tab>
    dir1/ Dir2/
  For the record:
    ubuntu at trusty-i386:~$ compopt ls
    compopt +o bashdefault +o default +o dirnames +o filenames +o nospace +o plusdirs ls
    ubuntu at trusty-i386:~$ complete -p ls
    complete -F _longopt ls
    ubuntu at trusty-i386:~$ alias ls
    alias ls='ls --color=auto'
  I can't tell if this is the same bug as bug 1288031, as I'm only
  seeing the auto-completion of only directory names when paths begin
  with ~, not for all paths.
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: bash-completion 1:2.1-2ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-16.36-generic 3.13.5
  Uname: Linux 3.13.0-16-generic i686
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: i386
  Date: Mon Mar 10 14:33:50 2014
  InstallationDate: Installed on 2014-02-27 (11 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20140224)
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: bash-completion
  UpgradeStatus: No upgrade log present (probably fresh install)
  ubuntu at trusty-i386:~$ apt-cache policy bash
  bash:
    Installed: 4.3-2ubuntu1
    Candidate: 4.3-2ubuntu1
    Version table:
   *** 4.3-2ubuntu1 0
          500 http://ubuntu-mirror/ubuntu/ trusty/main i386 Packages
          100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1290572/+subscriptions
    
    
More information about the foundations-bugs
mailing list