Outputs minishift shell completion for the given shell (bash or zsh)

Synopsis

Outputs minishift shell completion for the given shell (bash or zsh)

This depends on the bash-completion binary.  Example installation instructions:

macOS:

    $ brew install bash-completion
    $ source $(brew --prefix)/etc/bash_completion
    $ minishift completion bash > ~/.minishift-completion   # for bash users
    $ minishift completion zsh > ~/.minishift-completion    # for zsh users
    $ source ~/.minishift-completion

RHEL/Fedora:

    $ yum install bash-completion               # for RHEL
    $ dnf install bash-completion               # for Fedora
    $ minishift completion bash > ~/.minishift-completion   # for bash users
    $ minishift completion zsh > ~/.minishift-completion    # for zsh users
    $ source ~/.minishift-completion

Additionally, you may want to output the completion to a file and source in your .bashrc

Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2
minishift completion SHELL [flags]

Options

  -h, --help   help for completion

Options inherited from parent commands

      --alsologtostderr                  log to standard error as well as files
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                   If non-empty, write log files in this directory (default "")
      --logtostderr                      log to standard error instead of files
      --profile string                   Profile name (default "minishift")
      --show-libmachine-logs             Show logs from libmachine.
      --stderrthreshold severity         logs at or above this threshold go to stderr (default 2)
  -v, --v Level                          log level for V logs
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging

SEE ALSO

  • minishift - Minishift is a tool for application development in local OpenShift clusters.