Pular para o conteúdo principal
informação
Esta página ainda não foi traduzida. Você está lendo a versão em English.

envshed completions

Generate a tab-completion script for the specified shell and print it to stdout. Pipe the output to a file and source it from your shell configuration to enable tab-completion for all envshed commands and their flags.

Usage​

terminal
envshed completions <shell>

Arguments​

ArgumentDescription
<shell>Shell type: bash, zsh, or fish

Installation​

Bash​

terminal
# Append to ~/.bash_completion (create if it doesn't exist)
envshed completions bash >> ~/.bash_completion

# Then add to ~/.bashrc if not already loading ~/.bash_completion:
# source ~/.bash_completion

Zsh​

terminal
# Write to your Zsh completions directory (create if needed)
mkdir -p ~/.zsh/completions
envshed completions zsh > ~/.zsh/completions/_envshed

# Then add to ~/.zshrc if not already present:
# fpath=(~/.zsh/completions $fpath)
# autoload -U compinit && compinit

Fish​

terminal
# Write to the Fish completions directory
envshed completions fish > ~/.config/fish/completions/envshed.fish

Fish automatically loads completions from ~/.config/fish/completions/ - no additional configuration is needed.

Notes​

  • Completions are static - they cover all commands and flags, but do not dynamically complete org/project/env slug values (this requires API access and is not supported).
  • After installing completions, start a new shell session or source your config file for changes to take effect.
  • Re-run the installation command after upgrading envshed to pick up any new commands or flags.

The generated command list includes the context alias and guided init options. See init and environment selection for the full option reference.