Skip to content

RFE: Add zsh completions #1089

Open
Open
@volklord

Description

@volklord

Dracut with its plethora of command line options are not easy to remember, especially for new users. With help of shell completion, it could be as easy as hitting tab.
The bash completion file doesn't work as is in zsh; I tried it this way:

autoload -Uz bashcompinit && bashcompinit
source /usr/share/bash-completion/completions/dracut

On the command line, dracut --TAB has no effect. The shell tells me "No matches for: corrections' or file'"

zsh --version
zsh 5.8 (x86_64-pc-linux-gnu)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIssue adding new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions