Shell Completions
lazyenv ships shell completions via @bomb.sh/tab.
Generate Script
Section titled “Generate Script”lazyenv complete zshlazyenv complete bashlazyenv complete fishlazyenv complete powershell# one-time in current shellsource <(lazyenv complete zsh)
# persistentlazyenv complete zsh > ~/.lazyenv-completion.zshecho 'source ~/.lazyenv-completion.zsh' >> ~/.zshrclazyenv complete bash > ~/.lazyenv-completion.bashecho 'source ~/.lazyenv-completion.bash' >> ~/.bashrclazyenv complete fish > ~/.config/fish/completions/lazyenv.fishPowerShell
Section titled “PowerShell”lazyenv complete powershell > $HOME\\Documents\\PowerShell\\lazyenv-completion.ps1". $HOME\\Documents\\PowerShell\\lazyenv-completion.ps1" | Add-Content $PROFILEDynamic Completions
Section titled “Dynamic Completions”Some flags/args are dynamic:
--storevalues from supported providers--envvalues from.lazyenv/config.jsonenvironmentssync --targetvalues from.lazyenv/config.jsontargetsprovisioners bind <key>from workspace.env.examplekeystargets run <name>from configured target names
Dynamic lookups are cached briefly for faster repeated TAB presses.