zsh autocomplete does not work

Bug #1827232 reported by Moritz J
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
borgbackup (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu release: bionic, cosmic, disco, eoan
Pkg version: 1.1.5-1, 1.1.7-1, 1.1.9-2

Steps to reproduce:
1. Install borgbackup and zsh packages
2. Execute zsh
3. Type "borg " and press TAB

Expected result:
Show list of available subcommands and options.

Actual result:
Shows list of files in current working directory.

Further Information:
I noticed the package installs the autocomplete file in "/usr/share/zsh/site-functions/_borg".
I suspect that this location does not get sourced by the zsh command.
For example the systemd package installs its autocomplete files in "/usr/share/zsh/vendor-completions/".
If I symlink "/usr/local/share/zsh/site-functions/_borg" or "/usr/share/zsh/vendor-completions/_borg" to "/usr/share/zsh/site-functions/_borg" it does work as expected.

Tags: eoan
tags: added: eoan
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

thanks! fixing in eoan shortly!

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I don't consider this worth a fix in stable, let me know if you think otherwise

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package borgbackup - 1.1.10-2~build1

---------------
borgbackup (1.1.10-2~build1) eoan; urgency=medium

  * Fixup wrong installation directory for zsh completions (LP: #1827232)
    - thanks Moritz J for the bug report and fix!

 -- Gianfranco Costamagna <email address hidden> Tue, 23 Jul 2019 10:08:27 +0200

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.