Skip to content

yadm add auto-complete slow on zsh 5.8 with compinit loaded and enabled #355

Open
@D-Vaillant

Description

Describe the bug

In general, when I try to tab-autocomplete filenames when using yadm, it lags exceptionally bad to the point where I sometimes have to CTRL-C to do something different. I generally end up killing __git_files, __multi_parts, of __git_command_succesful.

This does not occur with other command tab-completes that I've observed.

To reproduce

Can this be reproduced with the yadm/testbed docker image: Unsure

Steps to reproduce the behavior:

  1. Have the following in your .zshrc: autoload -U compinit; compinit.
  2. Enter yadm add ~/.z, hit Tab. (Or try other completes.)
  3. This will eventually resolve, but after a while.

Expected behavior

Tab auto-completes take a normal amount of time, on the order of milliseconds and not seconds.

Environment

  • Operating system: 5.4.124-1-MANJARO
  • Version yadm: 3.0.2
  • Version Git: 2.32.0
  • Version zsh: 5.8

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions