mw completion zsh
Releasev0.35.0 · cfeceb67
mw completion zsh [flags]Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrcTo load completions in your current shell session:
source <(mw completion zsh)To load completions for every new session, execute once:
Linux:
Section titled “Linux:”mw completion zsh > "${fpath[1]}/_mw"macOS:
Section titled “macOS:”mw completion zsh > $(brew --prefix)/share/zsh/site-functions/_mwYou will need to start a new shell for this setup to take effect.
Options
Section titled “Options”Global options
Section titled “Global options”See also
Section titled “See also”Page views: —Sessions: —