Skip to content

Migration path for plugins that rely on completions/functions shipped with fish #12220

Description

@benedictleejh

Sometime between fish 4.0.6 and 4.2.1, $fish_complete_path no longer included the the files inside the $__fish_data_dir/completions (/usr/share/fish/completions for me on openSUSE Tumbleweed. (I only discovered this issue on being upgraded to 4.2.1 by my package manager, so I do not know which is the first version that caused this issue.) This, unfortunately, broke one of my plugins which was relying on the internal git completion functions from fish.

Based on #11143, this seems to be an expected eventual state of affairs with the builtin completions being read directly from the binary, whether this change to $fish_complete_path is intended now or not. As such, I would like to know what the intended path forward is for relying on the functions from fish's included completions, since not all of them may be exposed normally (e.g. __fish_git_branches).

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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