Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 920 Bytes

File metadata and controls

28 lines (20 loc) · 920 Bytes

spinloop completion

Tab completion for bash, zsh, and PowerShell.

source <(spinloop completion bash)   # add to ~/.bashrc
source <(spinloop completion zsh)    # or ~/.zshrc (needs compinit)
spinloop completion powershell | Out-String | Invoke-Expression   # or $PROFILE

Homebrew installs the bash and zsh completions for you.

What completes

TAB completes commands, flags, and — context-aware — the values that follow them:

  • provider names after -p (honouring a --providers override on the line)
  • harness names after -H, --harness, or --set
  • your registered aliases wherever a Spinloop path goes — spinloop unalias <TAB> offers exactly the names you have
  • the fleet's node names after up in a fleet directory — the Spinloop slot elsewhere
  • the supported shells after completion

See also