dlocate filename completion

Bug #1134535 reported by Hans Ginzel on 2013-02-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dlocate (Ubuntu)
Wishlist
Unassigned

Bug Description

bash (readline) does not complete filename when the commandline begins with "dlocate ".

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: bash 4.2-5ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-7.15-generic 3.8.0
Uname: Linux 3.8.0-7-generic i686
ApportVersion: 2.8-0ubuntu4
Architecture: i386
Date: Wed Feb 27 17:15:12 2013
EcryptfsInUse: Yes
MarkForUpload: True
SourcePackage: bash
UpgradeStatus: Upgraded to raring on 2013-02-14 (13 days ago)

Hans Ginzel (hans-matfyz) wrote :
summary: - dlocate file commpletition
+ dlocate filename commpletition
Matthias Klose (doko) on 2013-02-27
affects: bash (Ubuntu) → bash-completion (Ubuntu)
Changed in bash-completion (Ubuntu):
importance: Undecided → Wishlist

/etc/bash_completion.d/dlocate-completion is in dlocate, not bash_completion.

 Also, dlocate should use dh_bash-completion when building itself, so the completions will go in the new spot: /usr/share/bash-completion/completions

/usr/share/doc/bash-completion/README.Debian

Anyway, back to this bug. yeah, might not be a bad idea to have the default completion be _filedir, rather than options. It currently only completes paths as arguments to -S.

 Also, the completions shouldn't list both -V and --version. Only list the long-option. rationale in /usr/share/doc/bash-completion/README.gz near the end.

affects: bash-completion (Ubuntu) → dlocate (Ubuntu)
Changed in dlocate (Ubuntu):
status: New → Confirmed
summary: - dlocate filename commpletition
+ dlocate filename completion
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers