Skip to content

Port zsh shell completion to #compdef #9232

@omajid

Description

@omajid

Our current shell completion for zsh uses compctl. This makes it hard for any packages (like .deb, or .rpm) to register these completions as system-wide by default. We can't simply copy the file at /usr/share/zsh/site-functions/ and call it a day. They wont get picked up. As far as I can tell, zsh actually only supports #compdef-style completions for this: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Autoloaded-files

We should port the completions to the new #compdef format instead of using the older compctl-format which has been obsolete since the 90s.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions