Function canCompleteShell

  • Check if we have a known completion function for the given shell. Primarily useful for type predicate usage, but also valuable for JavaScript users.

    Returns

    Whether we can provided completions for the shell

    Parameters

    • shell: string

      The shell to check

    Returns shell is "zsh" | "fish" | "bash"

Generated using TypeDoc