Skip to content

Shell Completions

lazyenv ships shell completions via @bomb.sh/tab.

Terminal window
lazyenv complete zsh
lazyenv complete bash
lazyenv complete fish
lazyenv complete powershell
Terminal window
# one-time in current shell
source <(lazyenv complete zsh)
# persistent
lazyenv complete zsh > ~/.lazyenv-completion.zsh
echo 'source ~/.lazyenv-completion.zsh' >> ~/.zshrc
Terminal window
lazyenv complete bash > ~/.lazyenv-completion.bash
echo 'source ~/.lazyenv-completion.bash' >> ~/.bashrc
Terminal window
lazyenv complete fish > ~/.config/fish/completions/lazyenv.fish
Terminal window
lazyenv complete powershell > $HOME\\Documents\\PowerShell\\lazyenv-completion.ps1
". $HOME\\Documents\\PowerShell\\lazyenv-completion.ps1" | Add-Content $PROFILE

Some flags/args are dynamic:

  • --store values from supported providers
  • --env values from .lazyenv/config.json environments
  • sync --target values from .lazyenv/config.json targets
  • provisioners bind <key> from workspace .env.example keys
  • targets run <name> from configured target names

Dynamic lookups are cached briefly for faster repeated TAB presses.