#me completions

Set up shell completions.

#Usage

me completions [shell]
Argument Required Description
shell no Shell type: zsh, bash, fish, or powershell.

If no shell is specified, lists the available shells. me completions <shell> prints the line to add to your shell config; that line calls me complete <shell>, which emits the actual completion script your shell loads.

#Setup

Add one of the following to your shell config:

#Bash

source <(me complete bash)

#Zsh

source <(me complete zsh)

#Fish

me complete fish | source

#PowerShell

me complete powershell | Out-String | Invoke-Expression