ev completions
Usage
Description
Generates completion scripts for your shell. Supports bash, zsh, and fish.
Setup
Zsh (add to ~/.zshrc):
Or append once:
Bash (add to ~/.bashrc):
Fish:
Installing the Worktree Shell Function
ev completions install writes a shell function that automatically cds into a new worktree after ev worktree add. Run it once:
Auto-detects your shell from $SHELL (zsh → ~/.zshrc, bash → ~/.bashrc). Options:
The install is idempotent — re-running it after a CLI update replaces the function in place rather than appending a duplicate.
After installing, reload your shell:
What Completes
- All top-level commands (
ev <tab>) - Subcommands (
ev env <tab>→ create, delete) - Backend types (
ev backend set <tab>→ ev, aws-secrets-manager, vault, gcp-secret-manager, 1password) - Common environment names (
ev push <tab>→ dev, staging, prod)