zsh completion for gphoto2 gives "--delete-files" instead of the correct "--delete-file"

Bug #1495151 reported by Thue Janus Kristensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zsh (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

Zsh tab completion for gphoto2 has incorrect tab completion for "--delete-file", wrongly appending an "s".

The error comes from the file

/usr/share/zsh/functions/Completion/Unix/_gphoto2

with the line

  '--delete-files[delete files given in range]:range' \

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: zsh-common 5.0.7-5ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-28.30-generic 3.19.8-ckt5
Uname: Linux 3.19.0-28-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.4
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Sep 12 23:29:29 2015
InstallationDate: Installed on 2014-04-18 (512 days ago)
InstallationMedia: It
PackageArchitecture: all
SourcePackage: zsh
UpgradeStatus: Upgraded to vivid on 2015-06-28 (76 days ago)

Revision history for this message
Thue Janus Kristensen (thuejk) wrote :
Revision history for this message
Axel Beckert (xtaran) wrote :

Hi,

thanks for the report.

I just fixed this in upstream git: http://sourceforge.net/p/zsh/code/ci/9cb8c3f4b5d9918028791d975cf3aa7d745b4b22/

It should be fixed in Ubuntu once the next zsh upstream release (probably dubbed 5.1.2) will hit Ubuntu.

Changed in zsh (Ubuntu):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers