Skip to main content

completions

Generate shell completions for echi.

Usage

echi completions <SHELL>

Supported Shells

  • bash
  • zsh
  • fish
  • powershell

Setup

Bash

echi completions bash > ~/.local/share/bash-completion/completions/echi

Zsh

echi completions zsh > ~/.zfunc/_echi

Make sure ~/.zfunc is in your fpath. Add to ~/.zshrc if needed:

fpath=(~/.zfunc $fpath)
autoload -Uz compinit && compinit

Fish

echi completions fish > ~/.config/fish/completions/echi.fish

PowerShell

echi completions powershell > echi.ps1
. ./echi.ps1