Still seeing this issue with python command line scripts. Even after
running apt-get update/upgrade for 14.04.
cmdline.py ::
-----------------------
import argparse
parser = ArgumentParser(description="bash-completion test")
parser.add_argument("--filename", "-f")
args = parser.parse_args()
print 'Filename: {}'.format(args.filename)
---------------------------
$ python cmdline.py -f ~/[tab] [tab] [tab]
only returns directories, no files are listed.
$lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
$ apt-cache policy bash-completion bash
bash-completion:
Installed: 1:2.1-4
Candidate: 1:2.1-4
Version table:
*** 1:2.1-4 0
500 http://jp.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
bash:
Installed: 4.3-7ubuntu1
Candidate: 4.3-7ubuntu1
Version table:
*** 4.3-7ubuntu1 0
500 http://jp.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64
Packages
100 /var/lib/dpkg/status
4.3-6ubuntu1 0
500 http://jp.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs