Public bug reported:

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.

** Affects: borgbackup (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827232

Title:
  zsh autocomplete does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/borgbackup/+bug/1827232/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to